@@ -10,14 +10,18 @@ All benchmarking shall be done with [wrk](https://github.com/wg/wrk) which _is t
10
10
$ wrk
11
11
Usage: wrk <options> <url>
12
12
Options:
13
- -c, --connections <n > Connections to keep open
14
- -r , --requests <n > Total requests to make
15
- -t, --threads <n > Number of threads to use
13
+ -c, --connections <N > Connections to keep open
14
+ -d , --duration <T > Duration of test
15
+ -t, --threads <N > Number of threads to use
16
16
17
- -H, --header <h> Add header to request
17
+ -s, --script <S> Load Lua script file
18
+ -H, --header <H> Add header to request
19
+ --latency Print latency statistics
20
+ --timeout <T> Socket/request timeout
18
21
-v, --version Print version details
19
22
20
- Numeric arguments may include a SI unit (2k, 2M, 2G)
23
+ Numeric arguments may include a SI unit (1k, 1M, 1G)
24
+ Time arguments may include a time unit (2s, 2m, 2h)
21
25
```
22
26
23
27
## Benchmarks
@@ -30,4 +34,4 @@ _This benchmark requires three terminals running:_
30
34
31
35
1 . ** A proxy server:** ` node benchmark/scripts/proxy.js `
32
36
2 . ** A target server:** ` node benchmark/scripts/hello.js `
33
- 3 . ** A wrk process:** ` wrk -c 20 -r 10000 -t 2 http://127.0.0.1:8000 `
37
+ 3 . ** A wrk process:** ` wrk -c 20 -d5m -t 2 http://127.0.0.1:8000 `
0 commit comments