mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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:
parent
4dc920af6e
commit
8a968e4ee7
@ -27,7 +27,7 @@ const bench = common.createBenchmark(main, {
|
|||||||
'foo\nbar',
|
'foo\nbar',
|
||||||
'\x7F'
|
'\x7F'
|
||||||
],
|
],
|
||||||
n: [5e8],
|
n: [1e6],
|
||||||
});
|
});
|
||||||
|
|
||||||
function main(conf) {
|
function main(conf) {
|
||||||
|
@ -37,7 +37,7 @@ const bench = common.createBenchmark(main, {
|
|||||||
':alternate-protocol', // fast bailout
|
':alternate-protocol', // fast bailout
|
||||||
'alternate-protocol:' // slow bailout
|
'alternate-protocol:' // slow bailout
|
||||||
],
|
],
|
||||||
n: [5e8],
|
n: [1e6],
|
||||||
});
|
});
|
||||||
|
|
||||||
function main(conf) {
|
function main(conf) {
|
||||||
|
Loading…
Reference in New Issue
Block a user