Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 22, 2010
1 parent f87b709 commit 2dc5afd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions benchmarks/run
Expand Up @@ -5,10 +5,27 @@ ABFLAGS=${ABFLAGS-"-n 2000 -c 50"}
ADDR=${ADDR-http://127.0.0.1:3000/}
AB=${AB-ab}

#
# Log <msg ...>
#
# <msg ...>
#

log(){
echo "... $@"
}

#
# Benchmark <type> and <file>
#
# - starts the server
# - allows $SLEEP seconds for startup
# - runs $AB
# - kills the server process
#
# <type> <file>
#

bm(){
local type=$1
local file=$2
Expand Down

0 comments on commit 2dc5afd

Please sign in to comment.