Skip to content

Instantly share code, notes, and snippets.

@lury
Created January 20, 2014 07:58
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 lury/8516520 to your computer and use it in GitHub Desktop.
Save lury/8516520 to your computer and use it in GitHub Desktop.
multilevel delete speed test
lury:delete-test user$ time for X in $(seq 1 100);do mkdir -p {1..40}/{1..20}/$X; done
real 0m6.360s
user 0m0.327s
sys 0m2.854s
lury:delete-test user$ time rm -rf *
real 0m23.100s
user 0m0.466s
sys 0m10.035s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment