Created
July 31, 2010 12:08
-
-
Save wtnabe/502106 to your computer and use it in GitHub Desktop.
comparison bzip2 and pbzip2 with unix pipeline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ time find pctraining | cpio -o | bzip2 > pctraining.cpio.bz2 | |
find pctraining 0.00s user 0.01s system 59% cpu 0.025 total | |
cpio -o 0.11s user 0.20s system 5% cpu 5.455 total | |
bzip2 > pctraining.cpio.bz2 5.06s user 0.08s system 91% cpu 5.604 total | |
$ time find pctraining | cpio -o | pbzip2 > pctraining.cpio.pbz2 | |
find pctraining 0.00s user 0.01s system 52% cpu 0.026 total | |
cpio -o 0.10s user 0.19s system 15% cpu 1.940 total | |
pbzip2 > pctraining.cpio.pbz2 3.64s user 0.20s system 160% cpu 2.397 total |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment