summaryrefslogtreecommitdiff
path: root/benchmark/events/ee-emit.js
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-02-06 21:40:53 +0100
committermicnic <micnic90@gmail.com>2015-02-07 00:54:38 +0200
commit2c3121c606967f8595d671601493e623a7157385 (patch)
treeeea84843069b6b274ec520e9b57d2b6f681e69fa /benchmark/events/ee-emit.js
parent633a9908487efadda6a86026a36d5325a28805c6 (diff)
downloadandroid-node-v8-2c3121c606967f8595d671601493e623a7157385.tar.gz
android-node-v8-2c3121c606967f8595d671601493e623a7157385.tar.bz2
android-node-v8-2c3121c606967f8595d671601493e623a7157385.zip
benchmark: bump eventemitter number of iterations
Some of the benchmarks that were added in commit 847b9d2 complete too quickly to draw meaningful conclusions from. Increase the number of iterations to make them run longer. PR-URL: https://github.com/iojs/io.js/pull/746 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'benchmark/events/ee-emit.js')
-rw-r--r--benchmark/events/ee-emit.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/events/ee-emit.js b/benchmark/events/ee-emit.js
index 85165373f4..4c45bd9b71 100644
--- a/benchmark/events/ee-emit.js
+++ b/benchmark/events/ee-emit.js
@@ -1,7 +1,7 @@
var common = require('../common.js');
var EventEmitter = require('events').EventEmitter;
-var bench = common.createBenchmark(main, {n: [25e4]});
+var bench = common.createBenchmark(main, {n: [2e6]});
function main(conf) {
var n = conf.n | 0;