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 5522bdf

Browse filesBrowse files
psmarshallMylesBorins
authored andcommitted
benchmark: use smaller n value in some http tests
PR-URL: #14002 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent f49feab commit 5522bdf
Copy full SHA for 5522bdf

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎benchmark/http/check_invalid_header_char.js‎

Copy file name to clipboardExpand all lines: benchmark/http/check_invalid_header_char.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const bench = common.createBenchmark(main, {
2727
'foo\nbar',
2828
'\x7F'
2929
],
30-
n: [5e8],
30+
n: [1e6],
3131
});
3232

3333
function main(conf) {
Collapse file

‎benchmark/http/check_is_http_token.js‎

Copy file name to clipboardExpand all lines: benchmark/http/check_is_http_token.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const bench = common.createBenchmark(main, {
3737
':alternate-protocol', // fast bailout
3838
'alternate-protocol:' // slow bailout
3939
],
40-
n: [5e8],
40+
n: [1e6],
4141
});
4242

4343
function main(conf) {

0 commit comments

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