#include <hallo.h> * Tobias Wolter [Sun, Nov 09 2003, 04:52:54PM]: > 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
And you wanna say... what?! > real 0m0.068s > user 0m0.030s ... > user 0m0.030s Comparing with something you quoted away: |# time bzip2 -9 < out.wav > /dev/null | |real 0m48.989s |user 0m41.930s ... |user 0m38.920s Hint: the 'real' output was not relevant. MfG, Eduard. -- Ein berühmter Mann schreibe ein Buch mit Gründen, z.B. gegen den Eid - man vergißt, zitiert, widerlegt das Buch - aber er lasse in einem ganz davon fremden Werke, z.B. wie Lessing, Schiller etc. ein Wort dagegen fallen ohne Gründe: man zitiert ihn als Autorität. -- Jean Paul