Created
April 17, 2013 08:31
-
-
Save purefan/5402717 to your computer and use it in GitHub Desktop.
Small script to measure loading times, stores loading times in format:
real 0m1.468s
user 0m0.000s
sys 0m0.008s repeatedly so another script or an improved version of this one would be needed to parse averages and whatnot
This file contains 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
#!/bin/bash | |
for i in {1..200} | |
do | |
echo "Run $i" | |
(time curl -silent -L "http://server" -output /dev/null) > /dev/null 2>> "bench.log" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment