Skip to content
Myr

bench against loopback

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

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 341e167 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:support/bench+1 added-1 removed
2 unmodified lines
3node ./support/app &4pid=$!56bench() {7 ab -n 5000 -c 50 -k -q http://localhost:8000$1 | grep "Requests per" | cut -d ' ' -f 7 | xargs echo "$2:"7 ab -n 5000 -c 50 -k -q http://127.0.0.1:8000$1 | grep "Requests per" | cut -d ' ' -f 7 | xargs echo "$2:"8}910sleep .511bench / "Hello World"
4 unmodified lines