Created
January 20, 2014 07:58
-
-
Save lury/8516520 to your computer and use it in GitHub Desktop.
multilevel delete speed test
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
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