Date: Wed, 1 Feb 2006 23:11:47 +0000 (UTC) From: Maxime Henrion <mux@FreeBSD.org> To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: projects/csup stream.c Message-ID: <200602012311.k11NBlAf010086@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602012311.k11NBlAf010086>