We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8e8d52 commit 4409bf2Copy full SHA for 4409bf2
benchmark/http/headers.js
@@ -14,7 +14,9 @@ function main({ len, n }) {
14
'Transfer-Encoding': 'chunked',
15
};
16
17
- const Is = [ ...Array(n / len).keys() ];
+ // TODO(BridgeAR): Change this benchmark to use grouped arguments when
18
+ // implemented. https://github.com/nodejs/node/issues/26425
19
+ const Is = [ ...Array(Math.max(n / len, 1)).keys() ];
20
const Js = [ ...Array(len).keys() ];
21
for (const i of Is) {
22
headers[`foo${i}`] = Js.map(() => `some header value ${i}`);
0 commit comments