You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The long-term goal of these scripts and documentation is to provide a consistent and well understood benchmarking process for `node-http-proxy` so that performance does not degrade over time. They were initially created to compare the performance of `v0.10.3` and `v1.0.0` (which was a significant rewrite).
4
+
5
+
## Pre-requisites
6
+
7
+
All benchmarking shall be done with [wrk](https://github.com/wg/wrk) which _is the same tool used for performance testing by the node.js core team._**Make sure you have `wrk` installed before continuing**.
8
+
9
+
```
10
+
$ wrk
11
+
Usage: wrk <options> <url>
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
16
+
17
+
-H, --header <h> Add header to request
18
+
-v, --version Print version details
19
+
20
+
Numeric arguments may include a SI unit (2k, 2M, 2G)
21
+
```
22
+
23
+
## Benchmarks
24
+
25
+
1.[Simple HTTP benchmark](#simple-http)
26
+
27
+
### Simple HTTP
28
+
29
+
_This benchmark requires three terminals running:_
0 commit comments