Skip to content

Instantly share code, notes, and snippets.

@matti
Created November 5, 2019 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matti/fb89fc43798ac3324e0c8ac6edb05a9a to your computer and use it in GitHub Desktop.
Save matti/fb89fc43798ac3324e0c8ac6edb05a9a to your computer and use it in GitHub Desktop.
$ while true; do echo "untar"; time (tar -xof linux-5.4-rc5.tar.gz; sync); echo; echo "rm"; time (rm -rf linux-5.4-rc5; sync); done
untar

real    1m28.276s
user    0m6.924s
sys    0m16.092s

rm

real    1m37.940s
user    0m0.168s
sys    0m3.080s
untar

real    1m27.722s
user    0m6.992s
sys    0m15.904s

rm

real    1m38.004s
user    0m0.200s
sys    0m3.080s
untar

real    1m29.732s
user    0m6.980s
sys    0m15.952s

rm

real    1m35.465s
user    0m0.204s
sys    0m3.048s
untar

real    1m28.856s
user    0m7.008s
sys    0m16.024s

rm

real    1m36.347s
user    0m0.156s
sys    0m3.128s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment