On 2003-11-09T16:19:21+0100 (Sunday), Eduard Bloch wrote: > * Tobias Wolter [Sun, Nov 09 2003, 03:47:15PM]: > >> # time bzip2 -9 < out.wav > /dev/null > > [...] > >> # time /tmp/bzip2-1.0.2/bzip2 -9 < out.wav > /dev/null > >> Do you see now that 8 of your 10 percent come directly from the > >> application code and other two maybe from the optimized libc? > > You did think of caching, did you? > You did think of reading time(1), did you?
$ time bzcat \#debian.de_2003-07-10.log.bz2 > /dev/null; \ sleep 10; \ time bzcat \#debian.de_2003-07-10.log.bz2 > /dev/null real 0m0.068s user 0m0.030s sys 0m0.000s real 0m0.037s user 0m0.030s sys 0m0.000s -- 'Have you lost your senses?' 'Yes, but I may have found some better ones.'
signature.asc
Description: Digital signature