Skip to content

Commit

Permalink
benchmark: use smaller n value in some http tests
Browse files Browse the repository at this point in the history
PR-URL: #14002
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
psmarshall authored and MylesBorins committed Oct 25, 2017
1 parent f49feab commit 5522bdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmark/http/check_invalid_header_char.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const bench = common.createBenchmark(main, {
'foo\nbar',
'\x7F'
],
n: [5e8],
n: [1e6],
});

function main(conf) {
Expand Down
2 changes: 1 addition & 1 deletion benchmark/http/check_is_http_token.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const bench = common.createBenchmark(main, {
':alternate-protocol', // fast bailout
'alternate-protocol:' // slow bailout
],
n: [5e8],
n: [1e6],
});

function main(conf) {
Expand Down

0 comments on commit 5522bdf

Please sign in to comment.