Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cvs commit: projects/csup stream.c



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