[Hideki Yamane]
> > henrich@hp:/tmp$ du -k Packages.*
> > 6052        Packages.bz2
> > 5812        Packages.xz
> > henrich@hp:/tmp$ time bzip2 -d Packages.bz2 
> > 
> > real        0m0.999s
> > user        0m0.956s
> > sys 0m0.020s
> > 
> > henrich@hp:/tmp$ rm Packages
> > henrich@hp:/tmp$ time xz -d Packages.xz 
> > 
> > real        0m0.565s
> > user        0m0.532s
> > sys 0m0.032s
> 
> > henrich@hp:/tmp$ time gzip -d Packages.gz 
> > gzip: Packages already exists; do you wish to overwrite (y or n)? y
> > 
> > real        0m1.932s
> > user        0m0.272s
> > sys 0m0.012s

While your post has good points, we need to notice that because of the
interactive prompt, the 'real' time value for gzip -d is misleading.

>  decompression speed is 
>   best  : xz
>   second: bz2
>   third : gz

If you ignore the time gzip spent waiting for you to type 'y', it is
the fastest, not the slowest.

Peter


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121116012454.gk4...@p12n.org

Reply via email to