Skip to content

Commit

Permalink
benchmark: add trailing newline for consistency
Browse files Browse the repository at this point in the history
PR-URL: nodejs#9410
Fixes: nodejs#9402
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
  • Loading branch information
silverwind committed Nov 22, 2016
1 parent 8bb346d commit 5243202
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,16 @@ function main(conf) {
bench.end(n); // End benchmarking
}
```

Supported options keys are:
* `port` - defaults to `common.PORT`
* `path` - defaults to `/`
* `connections` - number of concurrent connections to use, defaults to 100
* `duration` - duration of the benchmark in seconds, defaults to 10
* `benchmarker` - benchmarker to use, defaults to
`common.default_http_benchmarker`

[autocannon]: https://github.com/mcollina/autocannon
[wrk]: https://github.com/wg/wrk
[t-test]: https://en.wikipedia.org/wiki/Student%27s_t-test#Equal_or_unequal_sample_sizes.2C_unequal_variances
[git-for-windows]: http://git-scm.com/download/win

0 comments on commit 5243202

Please sign in to comment.