Skip to content
Myr

Docs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent f87b709 · Browse files · 1 file+17 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+17 added−0 removed

  • other:+17 added−0 removed

1 file+17 added−0 removed

modified:benchmarks/run+17 added
3 unmodified lines
4ABFLAGS=${ABFLAGS-"-n 2000 -c 50"}5ADDR=${ADDR-http://127.0.0.1:3000/}6AB=${AB-ab}78#9# Log <msg ...>10# 11# <msg ...>12#1314log(){15 echo "... $@"16}1718#19# Benchmark <type> and <file>20# 21# - starts the server22# - allows $SLEEP seconds for startup23# - runs $AB24# - kills the server process25# 26# <type> <file>27#2829bm(){30 local type=$131 local file=$232 log benchmarking $type $file
26 unmodified lines