repo.or.cz
/
express.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
build: mocha@9.2.1
[express.git]
/
benchmarks
/
run
blob
93b5bc52ff2dd709dacd7a32c4dc9382c7b7aa22
1
#!/usr/bin/env bash
2
3
echo
4
MW
=
$1
node
$2
&
5
pid
=
$
!
6
7
sleep
2
8
9
wrk
'http://localhost:3333/?foo[bar]=baz'
\
10
-d
3
\
11
-c
50
\
12
-t
8
\
13
|
grep
'Requests/sec'
\
14
|
awk
'{ print " "
$2
}'
15
16
kill
$pid