Created
February 12, 2012 18:36
-
-
Save jwintersinger/1810077 to your computer and use it in GitHub Desktop.
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
#name=java_singleproc | |
name=java_threaded | |
#name=node_async | |
host=http://localhost:8124 | |
n=1000 | |
for file in {small,large}.jpg; do | |
for c in 1 50 100 1000; do | |
cmd="ab -n $n -c $c $host/$file" | |
echo "Running $cmd ..." | |
$cmd > "${name}_${file}_${n}_${c}" | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment