summaryrefslogtreecommitdiff
path: root/benchmark/timers/immediate.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/timers/immediate.js')
-rw-r--r--benchmark/timers/immediate.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/timers/immediate.js b/benchmark/timers/immediate.js
index 7d85dc0325..3ba4429260 100644
--- a/benchmark/timers/immediate.js
+++ b/benchmark/timers/immediate.js
@@ -1,13 +1,13 @@
'use strict';
-var common = require('../common.js');
+const common = require('../common.js');
-var bench = common.createBenchmark(main, {
+const bench = common.createBenchmark(main, {
thousands: [2000],
type: ['depth', 'depth1', 'breadth', 'breadth1', 'breadth4', 'clear']
});
function main(conf) {
- var N = +conf.thousands * 1e3;
+ const N = +conf.thousands * 1e3;
switch (conf.type) {
case 'depth':
depth(N);