0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/test/benchmark/test-benchmark-streams.js
Rich Trott cf3a05ae5f test: fix test-benchmark-streams
test-benchmark-streams is currently failing because the `sync` option is
not specified in the test, resulting in too many benchmarks running.

PR-URL: https://github.com/nodejs/node/pull/30757
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2019-12-02 06:03:50 -08:00

15 lines
307 B
JavaScript

'use strict';
require('../common');
const runBenchmark = require('../common/benchmark');
runBenchmark('streams',
[
'kind=duplex',
'n=1',
'sync=no',
'type=buffer',
],
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });