summaryrefslogtreecommitdiff
path: root/test/sequential/test-benchmark-net.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-11-08 16:33:42 -0800
committerRich Trott <rtrott@gmail.com>2018-11-10 22:44:26 -0800
commitb5420c9577be1f07da8c6ca8b46bb38195ba2529 (patch)
treecc8b1ac4d310dd998433a78bac8f900ee65b251d /test/sequential/test-benchmark-net.js
parent1e0005eac91a9f1a14089d13109f0628ea29fa09 (diff)
downloadandroid-node-v8-b5420c9577be1f07da8c6ca8b46bb38195ba2529.tar.gz
android-node-v8-b5420c9577be1f07da8c6ca8b46bb38195ba2529.tar.bz2
android-node-v8-b5420c9577be1f07da8c6ca8b46bb38195ba2529.zip
test: move benchmark tests out of main test suite
Move benchmark tests (which are slow) out of the main test suite. We can hopefully add them to node-daily-master so that they are still run daily on CI. PR-URL: https://github.com/nodejs/node/pull/24265 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/sequential/test-benchmark-net.js')
-rw-r--r--test/sequential/test-benchmark-net.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/sequential/test-benchmark-net.js b/test/sequential/test-benchmark-net.js
deleted file mode 100644
index 5d3d283fc7..0000000000
--- a/test/sequential/test-benchmark-net.js
+++ /dev/null
@@ -1,17 +0,0 @@
-'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 });