@@ -22,29 +22,28 @@ which need to be included in the global Windows `PATH`.
22
22
23
23
### HTTP Benchmark Requirements
24
24
25
- Most of the HTTP benchmarks require a benchmarker to be installed, this can be
25
+ Most of the HTTP benchmarks require a benchmarker to be installed. This can be
26
26
either [ ` wrk ` ] [ wrk ] or [ ` autocannon ` ] [ autocannon ] .
27
27
28
28
` Autocannon ` is a Node.js script that can be installed using
29
29
` npm install -g autocannon ` . It will use the Node.js executable that is in the
30
- path, hence if you want to compare two HTTP benchmark runs make sure that the
30
+ path. Hence if you want to compare two HTTP benchmark runs, make sure that the
31
31
Node.js version in the path is not altered.
32
32
33
33
` wrk ` may be available through your preferred package manager. If not, you can
34
34
easily build it [ from source] [ wrk ] via ` make ` .
35
35
36
- By default ` wrk ` will be used as benchmarker. If it is not available
37
- ` autocannon ` will be used in it its place. When creating a HTTP benchmark you
38
- can specify which benchmarker should be used. You can force a specific
39
- benchmarker to be used by providing it as an argument, e. g.:
36
+ By default, ` wrk ` will be used as the benchmarker. If it is not available,
37
+ ` autocannon ` will be used in its place. When creating an HTTP benchmark, you can
38
+ specify which benchmarker should be used by providing it as an argument:
40
39
41
40
` node benchmark/run.js --set benchmarker=autocannon http `
42
41
43
42
` node benchmark/http/simple.js benchmarker=autocannon `
44
43
45
44
### Benchmark Analysis Requirements
46
45
47
- To analyze the results ` R ` should be installed. Check you package manager or
46
+ To analyze the results, ` R ` should be installed. Use your package manager or
48
47
download it from https://www.r-project.org/ .
49
48
50
49
The R packages ` ggplot2 ` and ` plyr ` are also used and can be installed using
@@ -56,9 +55,8 @@ install.packages("ggplot2")
56
55
install.packages(" plyr" )
57
56
```
58
57
59
- In the event you get a message that you need to select a CRAN mirror first.
60
-
61
- You can specify a mirror by adding in the repo parameter.
58
+ In the event you get a message that you need to select a CRAN mirror first, you
59
+ can specify a mirror by adding in the repo parameter.
62
60
63
61
If we used the "http://cran.us.r-project.org " mirror, it could look something
64
62
like this:
0 commit comments