Skip to content

Commit 01fa162

Browse files
authored
Merge branch 'nodejs:main' into test/cwd-agnostic-snapshots
2 parents c63b5e6 + b5bda89 commit 01fa162

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1193
-257
lines changed

.github/workflows/test-shared.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ on:
2323
- deps/icu-small/**
2424
- deps/icu-tmp/**
2525
- deps/llhttp/**
26+
- deps/nbytes/**
2627
- deps/nghttp2/**
2728
- deps/ngtcp2/**
2829
- deps/openssl/*/**
@@ -71,6 +72,7 @@ on:
7172
- deps/icu-small/**
7273
- deps/icu-tmp/**
7374
- deps/llhttp/**
75+
- deps/nbytes/**
7476
- deps/nghttp2/**
7577
- deps/ngtcp2/**
7678
- deps/openssl/*/**

CHANGELOG.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@ release.
4141
</tr>
4242
<tr>
4343
<td valign="top">
44-
<b><a href="doc/changelogs/CHANGELOG_V25.md#25.2.1">25.2.1</a></b><br/>
44+
<b><a href="doc/changelogs/CHANGELOG_V25.md#25.3.0">25.3.0</a></b><br/>
45+
<a href="doc/changelogs/CHANGELOG_V25.md#25.2.1">25.2.1</a><br/>
4546
<a href="doc/changelogs/CHANGELOG_V25.md#25.2.0">25.2.0</a><br/>
4647
<a href="doc/changelogs/CHANGELOG_V25.md#25.1.0">25.1.0</a><br/>
4748
<a href="doc/changelogs/CHANGELOG_V25.md#25.0.0">25.0.0</a><br/>
4849
</td>
4950
<td valign="top">
50-
<b><a href="doc/changelogs/CHANGELOG_V24.md#24.12.0">24.12.0</a></b><br/>
51+
<b><a href="doc/changelogs/CHANGELOG_V24.md#24.13.0">24.13.0</a></b><br/>
52+
<a href="doc/changelogs/CHANGELOG_V24.md#24.12.0">24.12.0</a><br/>
5153
<a href="doc/changelogs/CHANGELOG_V24.md#24.11.1">24.11.1</a><br/>
5254
<a href="doc/changelogs/CHANGELOG_V24.md#24.11.0">24.11.0</a><br/>
5355
<a href="doc/changelogs/CHANGELOG_V24.md#24.10.0">24.10.0</a><br/>
@@ -66,7 +68,8 @@ release.
6668
<a href="doc/changelogs/CHANGELOG_V24.md#24.0.0">24.0.0</a><br/>
6769
</td>
6870
<td valign="top">
69-
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.21.1">22.21.1</a></b><br/>
71+
<b><a href="doc/changelogs/CHANGELOG_V22.md#22.22.0">22.22.0</a></b><br/>
72+
<a href="doc/changelogs/CHANGELOG_V22.md#22.21.1">22.21.1</a><br/>
7073
<a href="doc/changelogs/CHANGELOG_V22.md#22.21.0">22.21.0</a><br/>
7174
<a href="doc/changelogs/CHANGELOG_V22.md#22.20.0">22.20.0</a><br/>
7275
<a href="doc/changelogs/CHANGELOG_V22.md#22.19.0">22.19.0</a><br/>
@@ -96,7 +99,8 @@ release.
9699
<a href="doc/changelogs/CHANGELOG_V22.md#22.0.0">22.0.0</a><br/>
97100
</td>
98101
<td valign="top">
99-
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.19.6">20.19.6</a></b><br/>
102+
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.20.0">20.20.0</a></b><br/>
103+
<a href="doc/changelogs/CHANGELOG_V20.md#20.19.6">20.19.6</a><br/>
100104
<a href="doc/changelogs/CHANGELOG_V20.md#20.19.5">20.19.5</a><br/>
101105
<a href="doc/changelogs/CHANGELOG_V20.md#20.19.4">20.19.4</a><br/>
102106
<a href="doc/changelogs/CHANGELOG_V20.md#20.19.3">20.19.3</a><br/>

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,6 +1242,7 @@ ifeq ($(SKIP_SHARED_DEPS), 1)
12421242
$(RM) -r $(TARNAME)/deps/icu-small
12431243
$(RM) -r $(TARNAME)/deps/icu-tmp
12441244
$(RM) -r $(TARNAME)/deps/llhttp
1245+
$(RM) -r $(TARNAME)/deps/nbytes
12451246
$(RM) -r $(TARNAME)/deps/nghttp2
12461247
$(RM) -r $(TARNAME)/deps/ngtcp2
12471248
find $(TARNAME)/deps/openssl -maxdepth 1 -type f ! -name 'nodejs-openssl.cnf' -exec $(RM) {} +

configure.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,28 @@
357357
dest='shared_libuv_libpath',
358358
help='a directory to search for the shared libuv DLL')
359359

360+
shared_optgroup.add_argument('--shared-nbytes',
361+
action='store_true',
362+
dest='shared_nbytes',
363+
default=None,
364+
help='link to a shared nbytes DLL instead of static linking')
365+
366+
shared_optgroup.add_argument('--shared-nbytes-includes',
367+
action='store',
368+
dest='shared_nbytes_includes',
369+
help='directory containing nbytes header files')
370+
371+
shared_optgroup.add_argument('--shared-nbytes-libname',
372+
action='store',
373+
dest='shared_nbytes_libname',
374+
default='nbytes',
375+
help='alternative lib name to link to [default: %(default)s]')
376+
377+
shared_optgroup.add_argument('--shared-nbytes-libpath',
378+
action='store',
379+
dest='shared_nbytes_libpath',
380+
help='a directory to search for the shared nbytes DLL')
381+
360382
shared_optgroup.add_argument('--shared-nghttp2',
361383
action='store_true',
362384
dest='shared_nghttp2',
@@ -2455,6 +2477,7 @@ def make_bin_override():
24552477
configure_library('cares', output, pkgname='libcares')
24562478
configure_library('gtest', output)
24572479
configure_library('hdr_histogram', output)
2480+
configure_library('nbytes', output)
24582481
configure_library('nghttp2', output, pkgname='libnghttp2')
24592482
configure_library('nghttp3', output, pkgname='libnghttp3')
24602483
configure_library('ngtcp2', output, pkgname='libngtcp2')

doc/changelogs/CHANGELOG_V20.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
</tr>
1010
<tr>
1111
<td>
12+
<a href="#20.20.0">20.20.0</a><br/>
1213
<a href="#20.19.6">20.19.6</a><br/>
1314
<a href="#20.19.5">20.19.5</a><br/>
1415
<a href="#20.19.4">20.19.4</a><br/>
@@ -80,6 +81,38 @@
8081
* [io.js](CHANGELOG_IOJS.md)
8182
* [Archive](CHANGELOG_ARCHIVE.md)
8283

84+
<a id="20.20.0"></a>
85+
86+
## 2026-01-13, Version 20.20.0 'Iron' (LTS), @marco-ippolito
87+
88+
This is a security release.
89+
90+
### Notable Changes
91+
92+
lib:
93+
94+
* (CVE-2025-55132) disable futimes when permission model is enabled (RafaelGSS) <https://github.com/nodejs-private/node-private/pull/802>
95+
* (CVE-2025-59465) add TLSSocket default error handler (RafaelGSS) <https://github.com/nodejs-private/node-private/pull/797>
96+
lib,permission:
97+
* (CVE-2025-55130) require full read and write to symlink APIs (RafaelGSS) <https://github.com/nodejs-private/node-private/pull/760>
98+
src:
99+
* (CVE-2025-59466) rethrow stack overflow exceptions in async\_hooks (Matteo Collina) <https://github.com/nodejs-private/node-private/pull/773>
100+
src,lib:
101+
* (CVE-2025-55131) refactor unsafe buffer creation to remove zero-fill toggle (Сковорода Никита Андреевич) <https://github.com/nodejs-private/node-private/pull/759>
102+
tls:
103+
* (CVE-2026-21637) route callback exceptions through error handlers (Matteo Collina) <https://github.com/nodejs-private/node-private/pull/796>
104+
105+
### Commits
106+
107+
* \[[`8f9ba3f623`](https://github.com/nodejs/node/commit/8f9ba3f623)] - **deps**: update c-ares to v1.34.6 (Node.js GitHub Bot) [#60997](https://github.com/nodejs/node/pull/60997)
108+
* \[[`97fc9b0eb7`](https://github.com/nodejs/node/commit/97fc9b0eb7)] - **deps**: update undici to 6.23.0 (Matteo Collina) [nodejs-private/node-private#792](https://github.com/nodejs-private/node-private/pull/792)
109+
* \[[`14fbbb510c`](https://github.com/nodejs/node/commit/14fbbb510c)] - **(CVE-2025-55132)** **lib**: disable futimes when permission model is enabled (RafaelGSS) [nodejs-private/node-private#802](https://github.com/nodejs-private/node-private/pull/802)
110+
* \[[`1febc48d5b`](https://github.com/nodejs/node/commit/1febc48d5b)] - **(CVE-2025-59465)** **lib**: add TLSSocket default error handler (RafaelGSS) [nodejs-private/node-private#797](https://github.com/nodejs-private/node-private/pull/797)
111+
* \[[`494f62dc23`](https://github.com/nodejs/node/commit/494f62dc23)] - **(CVE-2025-55130)** **lib,permission**: require full read and write to symlink APIs (RafaelGSS) [nodejs-private/node-private#760](https://github.com/nodejs-private/node-private/pull/760)
112+
* \[[`d7a5c587c0`](https://github.com/nodejs/node/commit/d7a5c587c0)] - **(CVE-2025-59466)** **src**: rethrow stack overflow exceptions in async\_hooks (Matteo Collina) [nodejs-private/node-private#773](https://github.com/nodejs-private/node-private/pull/773)
113+
* \[[`51f4de4b4a`](https://github.com/nodejs/node/commit/51f4de4b4a)] - **(CVE-2025-55131)** **src,lib**: refactor unsafe buffer creation to remove zero-fill toggle (Сковорода Никита Андреевич) [nodejs-private/node-private#759](https://github.com/nodejs-private/node-private/pull/759)
114+
* \[[`85f73e7057`](https://github.com/nodejs/node/commit/85f73e7057)] - **(CVE-2026-21637)** **tls**: route callback exceptions through error handlers (Matteo Collina) [nodejs-private/node-private#796](https://github.com/nodejs-private/node-private/pull/796)
115+
83116
<a id="20.19.6"></a>
84117

85118
## 2025-11-25, Version 20.19.6 'Iron' (LTS), @marco-ippolito

doc/changelogs/CHANGELOG_V22.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
</tr>
1010
<tr>
1111
<td>
12+
<a href="#22.22.0">22.22.0</a><br/>
1213
<a href="#22.21.1">22.21.1</a><br/>
1314
<a href="#22.21.0">22.21.0</a><br/>
1415
<a href="#22.20.0">22.20.0</a><br/>
@@ -70,6 +71,38 @@
7071
* [io.js](CHANGELOG_IOJS.md)
7172
* [Archive](CHANGELOG_ARCHIVE.md)
7273

74+
<a id="22.22.0"></a>
75+
76+
## 2026-01-13, Version 22.22.0 'Jod' (LTS), @marco-ippolito
77+
78+
This is a security release.
79+
80+
### Notable Changes
81+
82+
lib:
83+
84+
* (CVE-2025-59465) add TLSSocket default error handler
85+
* (CVE-2025-55132) disable futimes when permission model is enabled
86+
lib,permission:
87+
* (CVE-2025-55130) require full read and write to symlink APIs
88+
src:
89+
* (CVE-2025-59466) rethrow stack overflow exceptions in async\_hooks
90+
src,lib:
91+
* (CVE-2025-55131) refactor unsafe buffer creation to remove zero-fill toggle
92+
tls:
93+
* (CVE-2026-21637) route callback exceptions through error handlers
94+
95+
### Commits
96+
97+
* \[[`6badf4e6f4`](https://github.com/nodejs/node/commit/6badf4e6f4)] - **deps**: update c-ares to v1.34.6 (Node.js GitHub Bot) [#60997](https://github.com/nodejs/node/pull/60997)
98+
* \[[`37509c3ff0`](https://github.com/nodejs/node/commit/37509c3ff0)] - **deps**: update undici to 6.23.0 (Matteo Collina) [nodejs-private/node-private#791](https://github.com/nodejs-private/node-private/pull/791)
99+
* \[[`eb8e41f8db`](https://github.com/nodejs/node/commit/eb8e41f8db)] - **(CVE-2025-59465)** **lib**: add TLSSocket default error handler (RafaelGSS) [nodejs-private/node-private#797](https://github.com/nodejs-private/node-private/pull/797)
100+
* \[[`ebbf942a83`](https://github.com/nodejs/node/commit/ebbf942a83)] - **(CVE-2025-55132)** **lib**: disable futimes when permission model is enabled (RafaelGSS) [nodejs-private/node-private#748](https://github.com/nodejs-private/node-private/pull/748)
101+
* \[[`6b4849583a`](https://github.com/nodejs/node/commit/6b4849583a)] - **(CVE-2025-55130)** **lib,permission**: require full read and write to symlink APIs (RafaelGSS) [nodejs-private/node-private#760](https://github.com/nodejs-private/node-private/pull/760)
102+
* \[[`ddadc31f09`](https://github.com/nodejs/node/commit/ddadc31f09)] - **(CVE-2025-59466)** **src**: rethrow stack overflow exceptions in async\_hooks (Matteo Collina) [nodejs-private/node-private#773](https://github.com/nodejs-private/node-private/pull/773)
103+
* \[[`d4d9f3915f`](https://github.com/nodejs/node/commit/d4d9f3915f)] - **(CVE-2025-55131)** **src,lib**: refactor unsafe buffer creation to remove zero-fill toggle (Сковорода Никита Андреевич) [nodejs-private/node-private#759](https://github.com/nodejs-private/node-private/pull/759)
104+
* \[[`25d6799df6`](https://github.com/nodejs/node/commit/25d6799df6)] - **(CVE-2026-21637)** **tls**: route callback exceptions through error handlers (Matteo Collina) [nodejs-private/node-private#796](https://github.com/nodejs-private/node-private/pull/796)
105+
73106
<a id="22.21.1"></a>
74107

75108
## 2025-10-28, Version 22.21.1 'Jod' (LTS), @aduh95

doc/changelogs/CHANGELOG_V24.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
</tr>
1010
<tr>
1111
<td>
12+
<a href="#24.13.0">24.13.0</a><br/>
1213
<a href="#24.12.0">24.12.0</a><br/>
1314
<a href="#24.11.1">24.11.1</a><br/>
1415
<a href="#24.11.0">24.11.0</a><br/>
@@ -59,6 +60,38 @@
5960
* [io.js](CHANGELOG_IOJS.md)
6061
* [Archive](CHANGELOG_ARCHIVE.md)
6162

63+
<a id="24.13.0"></a>
64+
65+
## 2026-01-13, Version 24.13.0 'Krypton' (LTS), @marco-ippolito
66+
67+
This is a security release.
68+
69+
### Notable Changes
70+
71+
lib:
72+
73+
* (CVE-2025-59465) add TLSSocket default error handler (RafaelGSS) <https://github.com/nodejs-private/node-private/pull/797>
74+
* (CVE-2025-55132) disable futimes when permission model is enabled (RafaelGSS) <https://github.com/nodejs-private/node-private/pull/748>
75+
lib,permission:
76+
* (CVE-2025-55130) require full read and write to symlink APIs (RafaelGSS) <https://github.com/nodejs-private/node-private/pull/760>
77+
src:
78+
* (CVE-2025-59466) rethrow stack overflow exceptions in async\_hooks (Matteo Collina) <https://github.com/nodejs-private/node-private/pull/773>
79+
src,lib:
80+
* (CVE-2025-55131) refactor unsafe buffer creation to remove zero-fill toggle (Сковорода Никита Андреевич) <https://github.com/nodejs-private/node-private/pull/759>
81+
tls:
82+
* (CVE-2026-21637) route callback exceptions through error handlers (Matteo Collina) <https://github.com/nodejs-private/node-private/pull/796>
83+
84+
### Commits
85+
86+
* \[[`2092785d01`](https://github.com/nodejs/node/commit/2092785d01)] - **deps**: update c-ares to v1.34.6 (Node.js GitHub Bot) [#60997](https://github.com/nodejs/node/pull/60997)
87+
* \[[`3e58b7f2af`](https://github.com/nodejs/node/commit/3e58b7f2af)] - **deps**: update undici to 7.18.2 (Node.js GitHub Bot) [#61283](https://github.com/nodejs/node/pull/61283)
88+
* \[[`4ba536a5a6`](https://github.com/nodejs/node/commit/4ba536a5a6)] - **(CVE-2025-59465)** **lib**: add TLSSocket default error handler (RafaelGSS) [nodejs-private/node-private#797](https://github.com/nodejs-private/node-private/pull/797)
89+
* \[[`89adaa21fd`](https://github.com/nodejs/node/commit/89adaa21fd)] - **(CVE-2025-55132)** **lib**: disable futimes when permission model is enabled (RafaelGSS) [nodejs-private/node-private#748](https://github.com/nodejs-private/node-private/pull/748)
90+
* \[[`7302b4dae1`](https://github.com/nodejs/node/commit/7302b4dae1)] - **(CVE-2025-55130)** **lib,permission**: require full read and write to symlink APIs (RafaelGSS) [nodejs-private/node-private#760](https://github.com/nodejs-private/node-private/pull/760)
91+
* \[[`ac030753c4`](https://github.com/nodejs/node/commit/ac030753c4)] - **(CVE-2025-59466)** **src**: rethrow stack overflow exceptions in async\_hooks (Matteo Collina) [nodejs-private/node-private#773](https://github.com/nodejs-private/node-private/pull/773)
92+
* \[[`20075692fe`](https://github.com/nodejs/node/commit/20075692fe)] - **(CVE-2025-55131)** **src,lib**: refactor unsafe buffer creation to remove zero-fill toggle (Сковорода Никита Андреевич) [nodejs-private/node-private#759](https://github.com/nodejs-private/node-private/pull/759)
93+
* \[[`20591b0618`](https://github.com/nodejs/node/commit/20591b0618)] - **(CVE-2026-21637)** **tls**: route callback exceptions through error handlers (Matteo Collina) [nodejs-private/node-private#796](https://github.com/nodejs-private/node-private/pull/796)
94+
6295
<a id="24.12.0"></a>
6396

6497
## 2025-12-10, Version 24.12.0 'Krypton' (LTS), @targos

doc/changelogs/CHANGELOG_V25.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
</tr>
99
<tr>
1010
<td>
11+
<a href="#25.3.0">25.3.0</a><br/>
1112
<a href="#25.2.1">25.2.1</a><br/>
1213
<a href="#25.2.0">25.2.0</a><br/>
1314
<a href="#25.1.0">25.1.0</a><br/>
@@ -43,6 +44,40 @@
4344
* [io.js](CHANGELOG_IOJS.md)
4445
* [Archive](CHANGELOG_ARCHIVE.md)
4546

47+
<a id="25.3.0"></a>
48+
49+
## 2026-01-13, Version 25.3.0 (Current), @RafaelGSS
50+
51+
This is a security release.
52+
53+
### Notable Changes
54+
55+
lib:
56+
57+
* (CVE-2025-59465) add TLSSocket default error handler (RafaelGSS) <https://github.com/nodejs-private/node-private/pull/750>
58+
permission:
59+
* (CVE-2026-21636) add network check on pipe\_wrap connect (RafaelGSS) <https://github.com/nodejs-private/node-private/pull/784>
60+
* (CVE-2025-55130) require full read and write to symlink APIs (RafaelGSS) <https://github.com/nodejs-private/node-private/pull/760>
61+
* (CVE-2025-55132) disable futimes when permission model is enabled (RafaelGSS) <https://github.com/nodejs-private/node-private/pull/748>
62+
src:
63+
* (CVE-2025-59466) rethrow stack overflow exceptions in async\_hooks (Matteo Collina) <https://github.com/nodejs-private/node-private/pull/773>
64+
src,lib:
65+
* (CVE-2025-55131) refactor unsafe buffer creation to remove zero-fill toggle (Сковорода Никита Андреевич) <https://github.com/nodejs-private/node-private/pull/759>
66+
tls:
67+
* (CVE-2026-21637) route callback exceptions through error handlers (Matteo Collina) <https://github.com/nodejs-private/node-private/pull/790>
68+
69+
### Commits
70+
71+
* \[[`a6a74b89a7`](https://github.com/nodejs/node/commit/a6a74b89a7)] - **deps**: update c-ares to v1.34.6 (Node.js GitHub Bot) [#60997](https://github.com/nodejs/node/pull/60997)
72+
* \[[`5100614e26`](https://github.com/nodejs/node/commit/5100614e26)] - **deps**: update undici to 7.18.2 (Node.js GitHub Bot) [#61283](https://github.com/nodejs/node/pull/61283)
73+
* \[[`f0a8916887`](https://github.com/nodejs/node/commit/f0a8916887)] - **(CVE-2025-59465)** **lib**: add TLSSocket default error handler (RafaelGSS) [nodejs-private/node-private#750](https://github.com/nodejs-private/node-private/pull/750)
74+
* \[[`b4b887c5f7`](https://github.com/nodejs/node/commit/b4b887c5f7)] - **(CVE-2025-55132)** **lib**: disable futimes when permission model is enabled (RafaelGSS) [nodejs-private/node-private#748](https://github.com/nodejs-private/node-private/pull/748)
75+
* \[[`26be208039`](https://github.com/nodejs/node/commit/26be208039)] - **(CVE-2025-55130)** **lib,permission**: require full read and write to symlink APIs (RafaelGSS) [nodejs-private/node-private#760](https://github.com/nodejs-private/node-private/pull/760)
76+
* \[[`bdf5873d44`](https://github.com/nodejs/node/commit/bdf5873d44)] - **(CVE-2026-21636)** **permission**: add network check on pipe\_wrap connect (RafaelGSS) [nodejs-private/node-private#784](https://github.com/nodejs-private/node-private/pull/784)
77+
* \[[`0578e3e921`](https://github.com/nodejs/node/commit/0578e3e921)] - **(CVE-2025-59466)** **src**: rethrow stack overflow exceptions in async\_hooks (Matteo Collina) [nodejs-private/node-private#773](https://github.com/nodejs-private/node-private/pull/773)
78+
* \[[`4d6b55a6d1`](https://github.com/nodejs/node/commit/4d6b55a6d1)] - **(CVE-2025-55131)** **src,lib**: refactor unsafe buffer creation to remove zero-fill toggle (Сковорода Никита Андреевич) [nodejs-private/node-private#759](https://github.com/nodejs-private/node-private/pull/759)
79+
* \[[`c357a39e14`](https://github.com/nodejs/node/commit/c357a39e14)] - **(CVE-2026-21637)** **tls**: route callback exceptions through error handlers (Matteo Collina) [nodejs-private/node-private#790](https://github.com/nodejs-private/node-private/pull/790)
80+
4681
<a id="25.2.1"></a>
4782

4883
## 2025-11-17, Version 25.2.1 (Current), @aduh95

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

Lines changed: 11 additions & 6 deletions
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)