Browse Source

benchmark: use smaller n value in some http tests

PR-URL: https://github.com/nodejs/node/pull/14002
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
canary-base
Peter Marshall 8 years ago
committed by Ruben Bridgewater
parent
commit
8a968e4ee7
No known key found for this signature in database GPG Key ID: F07496B3EB3C1762
  1. 2
      benchmark/http/check_invalid_header_char.js
  2. 2
      benchmark/http/check_is_http_token.js

2
benchmark/http/check_invalid_header_char.js

@ -27,7 +27,7 @@ const bench = common.createBenchmark(main, {
'foo\nbar',
'\x7F'
],
n: [5e8],
n: [1e6],
});
function main(conf) {

2
benchmark/http/check_is_http_token.js

@ -37,7 +37,7 @@ const bench = common.createBenchmark(main, {
':alternate-protocol', // fast bailout
'alternate-protocol:' // slow bailout
],
n: [5e8],
n: [1e6],
});
function main(conf) {

Loading…
Cancel
Save