Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit adf5c84

Browse filesBrowse files
Hardanish-Singhaduh95
authored andcommitted
doc: clean up writing-and-running-benchmarks.md
PR-URL: #61345 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
1 parent 5a984b9 commit adf5c84
Copy full SHA for adf5c84

1 file changed

+11-6Lines changed: 11 additions & 6 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/contributing/writing-and-running-benchmarks.md‎

Copy file name to clipboardExpand all lines: doc/contributing/writing-and-running-benchmarks.md
+11-6Lines changed: 11 additions & 6 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ which need to be included in the global Windows `PATH`.
2828

2929
If you are using Nix, all the required tools are already listed in the
3030
`benchmarkTools` argument of the `shell.nix` file, so you can skip those
31-
prerequesites.
31+
prerequisites.
3232

3333
### HTTP benchmark requirements
3434

@@ -47,24 +47,29 @@ By default, `wrk` will be used as the benchmarker. If it is not available,
4747
`autocannon` will be used in its place. When creating an HTTP benchmark, the
4848
benchmarker to be used should be specified by providing it as an argument:
4949

50-
`node benchmark/run.js --set benchmarker=autocannon http`
51-
52-
`node benchmark/http/simple.js benchmarker=autocannon`
50+
```bash
51+
node benchmark/run.js --set benchmarker=autocannon http
52+
node benchmark/http/simple.js benchmarker=autocannon
53+
```
5354

5455
#### HTTPS benchmark requirements
5556

5657
To run the `https` benchmarks, one of `autocannon` or `wrk` benchmarkers must
5758
be used.
5859

59-
`node benchmark/https/simple.js benchmarker=autocannon`
60+
```bash
61+
node benchmark/https/simple.js benchmarker=autocannon
62+
```
6063

6164
#### HTTP/2 benchmark requirements
6265

6366
To run the `http2` benchmarks, the `h2load` benchmarker must be used. The
6467
`h2load` tool is a component of the `nghttp2` project and may be installed
6568
from [nghttp2.org][] or built from source.
6669

67-
`node benchmark/http2/simple.js benchmarker=h2load`
70+
```bash
71+
node benchmark/http2/simple.js benchmarker=h2load
72+
```
6873

6974
### Benchmark analysis requirements
7075

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.