Skip to content

Commit 5522bdf

Browse 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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benchmark/http/check_invalid_header_char.js

Lines 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) {

benchmark/http/check_is_http_token.js

Lines 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)