blob: 5d3d283fc7903e298db3f93701e3659f66e56995 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
'use strict';
require('../common');
// Because the net benchmarks use hardcoded ports, this should be in sequential
// rather than parallel to make sure it does not conflict with tests that choose
// random available ports.
const runBenchmark = require('../common/benchmark');
runBenchmark('net',
[
'dur=0',
'len=1024',
'type=buf'
],
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
|