Skip to content

Instantly share code, notes, and snippets.

@jwintersinger
Created February 12, 2012 18:36
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 jwintersinger/1810077 to your computer and use it in GitHub Desktop.
Save jwintersinger/1810077 to your computer and use it in GitHub Desktop.
#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