diff options
Diffstat (limited to 'benchmark/path/resolve-posix.js')
-rw-r--r-- | benchmark/path/resolve-posix.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/benchmark/path/resolve-posix.js b/benchmark/path/resolve-posix.js index 61b809b666..4ef0d46e28 100644 --- a/benchmark/path/resolve-posix.js +++ b/benchmark/path/resolve-posix.js @@ -1,8 +1,8 @@ 'use strict'; -var common = require('../common.js'); -var path = require('path'); +const common = require('../common.js'); +const path = require('path'); -var bench = common.createBenchmark(main, { +const bench = common.createBenchmark(main, { paths: [ '', ['', ''].join('|'), @@ -13,9 +13,9 @@ var bench = common.createBenchmark(main, { }); function main(conf) { - var n = +conf.n; - var p = path.posix; - var args = String(conf.paths).split('|'); + const n = +conf.n; + const p = path.posix; + const args = String(conf.paths).split('|'); bench.start(); for (var i = 0; i < n; i++) { |