Date: Tue, 07 Dec 2010 11:10:20 -0800 From: Chuck Swiger <cswiger@mac.com> To: Alex Kozlov <spam@rm-rf.kiev.ua> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: trying to use xz on manuals. Message-ID: <8637F403-A98A-4814-8769-BC713858962E@mac.com> In-Reply-To: <20101207073013.GA59001@ravenloft.kiev.ua> References: <20101207073013.GA59001@ravenloft.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 6, 2010, at 11:30 PM, Alex Kozlov wrote: > On Mon, Dec 06, 2010 at 10:50:44PM -0800, Tim Kientzle wrote: >> It might make sense if XZ decompression were significantly >> faster than GZip decompression. (Especially since man pages >> are decompressed much more often than they are compressed.) > > It's not. Agreed, gzip is faster than XZ, but for manpages the difference is so small that a human won't notice any difference. The slowest machine I have around is a Pentium III @ 933 MHz, and it's getting (typical results from 5 trials, on a FreeBSD 7.4-PRERELEASE system) shows: $ time gzcat CC.1.gz > /dev/null real 0m0.021s user 0m0.013s sys 0m0.007s $ time xzcat CC.1.xz > /dev/null real 0m0.063s user 0m0.055s sys 0m0.007s Regards, -- -Chuck PS: I installed bash just to get millisecond-accuracy for the timing. :-) Is there any way to convince the default /bin/sh or /usr/bin/time to output the same...?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8637F403-A98A-4814-8769-BC713858962E>