Created
January 29, 2015 10:03
-
-
Save ravibhure/61c6445e6790e78e2166 to your computer and use it in GitHub Desktop.
A very crude and brutish disk benchmark running mkdir and git init 5,000 times.
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 sh gibench.sh | |
dir=gitemp | |
rm -rf $dir &> /dev/null | |
mkdir $dir | |
cd $dir | |
for (( c=1; c<=5000; c++ )) | |
do | |
mkdir $c | |
cd $c | |
git init | |
cd ../ | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment