summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorBrian White <mscdex@mscdex.net>2019-01-11 22:36:26 -0500
committerBrian White <mscdex@mscdex.net>2019-08-27 22:14:15 -0400
commit34961c7b5fe8b2cf1722668666a7adcce3ab419c (patch)
treebf04b476c439f92a7b80ccdbd8cb280704542de9 /benchmark
parent01504904f3b220b68666d9c2d37e13615e0a2fc1 (diff)
downloadandroid-node-v8-34961c7b5fe8b2cf1722668666a7adcce3ab419c.tar.gz
android-node-v8-34961c7b5fe8b2cf1722668666a7adcce3ab419c.tar.bz2
android-node-v8-34961c7b5fe8b2cf1722668666a7adcce3ab419c.zip
process: improve nextTick performance
PR-URL: https://github.com/nodejs/node/pull/25461 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/process/next-tick-breadth-args.js2
-rw-r--r--benchmark/process/next-tick-breadth.js2
-rw-r--r--benchmark/process/next-tick-depth-args.js2
-rw-r--r--benchmark/process/next-tick-depth.js2
-rw-r--r--benchmark/process/next-tick-exec-args.js2
-rw-r--r--benchmark/process/next-tick-exec.js2
6 files changed, 6 insertions, 6 deletions
diff --git a/benchmark/process/next-tick-breadth-args.js b/benchmark/process/next-tick-breadth-args.js
index 6baa8d9960..f7f9882c87 100644
--- a/benchmark/process/next-tick-breadth-args.js
+++ b/benchmark/process/next-tick-breadth-args.js
@@ -2,7 +2,7 @@
const common = require('../common.js');
const bench = common.createBenchmark(main, {
- n: [4e6]
+ n: [1e7]
});
function main({ n }) {
diff --git a/benchmark/process/next-tick-breadth.js b/benchmark/process/next-tick-breadth.js
index 392d8e0209..297bf43495 100644
--- a/benchmark/process/next-tick-breadth.js
+++ b/benchmark/process/next-tick-breadth.js
@@ -2,7 +2,7 @@
const common = require('../common.js');
const bench = common.createBenchmark(main, {
- n: [4e6]
+ n: [1e7]
});
function main({ n }) {
diff --git a/benchmark/process/next-tick-depth-args.js b/benchmark/process/next-tick-depth-args.js
index da61f90a64..d9fc37887e 100644
--- a/benchmark/process/next-tick-depth-args.js
+++ b/benchmark/process/next-tick-depth-args.js
@@ -2,7 +2,7 @@
const common = require('../common.js');
const bench = common.createBenchmark(main, {
- n: [12e6]
+ n: [7e6]
});
function main({ n }) {
diff --git a/benchmark/process/next-tick-depth.js b/benchmark/process/next-tick-depth.js
index c88e042b96..5b0f817475 100644
--- a/benchmark/process/next-tick-depth.js
+++ b/benchmark/process/next-tick-depth.js
@@ -1,7 +1,7 @@
'use strict';
const common = require('../common.js');
const bench = common.createBenchmark(main, {
- n: [12e6]
+ n: [7e6]
});
function main({ n }) {
diff --git a/benchmark/process/next-tick-exec-args.js b/benchmark/process/next-tick-exec-args.js
index f5d0fb9422..ec172ea893 100644
--- a/benchmark/process/next-tick-exec-args.js
+++ b/benchmark/process/next-tick-exec-args.js
@@ -1,7 +1,7 @@
'use strict';
const common = require('../common.js');
const bench = common.createBenchmark(main, {
- n: [5e6]
+ n: [4e6]
});
function main({ n }) {
diff --git a/benchmark/process/next-tick-exec.js b/benchmark/process/next-tick-exec.js
index 936b253bfa..14fce9cccf 100644
--- a/benchmark/process/next-tick-exec.js
+++ b/benchmark/process/next-tick-exec.js
@@ -1,7 +1,7 @@
'use strict';
const common = require('../common.js');
const bench = common.createBenchmark(main, {
- n: [5e6]
+ n: [4e6]
});
function main({ n }) {