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>
This commit is contained in:
Peter Marshall authored and James M Snell committed 2017-09-20 07:55:25 -07:00
1 parent f20fb4ce40
commit 142d2ed057
2 files changed
+2 -2

No files matched your search

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