summaryrefslogtreecommitdiff
path: root/deps/node/benchmark/process/next-tick-breadth.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/node/benchmark/process/next-tick-breadth.js')
-rw-r--r--deps/node/benchmark/process/next-tick-breadth.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/deps/node/benchmark/process/next-tick-breadth.js b/deps/node/benchmark/process/next-tick-breadth.js
deleted file mode 100644
index 392d8e02..00000000
--- a/deps/node/benchmark/process/next-tick-breadth.js
+++ /dev/null
@@ -1,21 +0,0 @@
-'use strict';
-
-const common = require('../common.js');
-const bench = common.createBenchmark(main, {
- n: [4e6]
-});
-
-function main({ n }) {
- var j = 0;
-
- function cb() {
- j++;
- if (j === n)
- bench.end(n);
- }
-
- bench.start();
- for (var i = 0; i < n; i++) {
- process.nextTick(cb);
- }
-}