cvs commit: projects/csup stream.c

Maxime Henrion mux at FreeBSD.org
Wed Feb 1 15:11:47 PST 2006


mux         2006-02-01 23:11:47 UTC

  FreeBSD projects repository

  Modified files:
    csup                 stream.c 
  Log:
  Use Z_DEFAULT_COMPRESSION instead of Z_BEST_SPEED.  Since most of the
  time internet connections are limited in upload, the main bottleneck
  of csup and CVSup is sending the list of files on the client.  That's
  why using a higher zlib compression level can significantly improve
  performance.  Using Z_DEFAULT_COMPRESSION significantly reduces the
  amount we need to send without using much more CPU time.  With this
  change, csup is slightly faster than CVSup in my tests.
  
  Revision  Changes    Path
  1.48      +2 -2      projects/csup/stream.c


More information about the cvs-projects mailing list