Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@matti
Created November 5, 2019 09:03
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/80ebc379d5bdd2edf287b1fc827b6a19 to your computer and use it in GitHub Desktop.
Save matti/80ebc379d5bdd2edf287b1fc827b6a19 to your computer and use it in GitHub Desktop.
$ while true; do echo "untar"; time (tar -xof linux-1.0.tar.gz; sync); echo; echo "rm"; time (rm -rf linux; sync); done
untar

real    0m0.679s
user    0m0.036s
sys    0m0.148s

rm

real    0m0.636s
user    0m0.000s
sys    0m0.064s
untar

real    0m0.625s
user    0m0.052s
sys    0m0.128s

rm

real    0m0.554s
user    0m0.000s
sys    0m0.060s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment