summaryrefslogtreecommitdiff
path: root/test/benchmark/test-benchmark-streams.js
blob: fa61b8dc4e0ae7bc108bcb9b19e8f372663582d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict';

require('../common');

const runBenchmark = require('../common/benchmark');

runBenchmark('streams',
             [
               'kind=duplex',
               'n=1',
               'sync=no',
               'writev=no',
               'callback=no',
               'type=buffer',
             ],
             { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });