diff options
Diffstat (limited to 'benchmark/child_process/spawn-echo.js')
-rw-r--r-- | benchmark/child_process/spawn-echo.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/child_process/spawn-echo.js b/benchmark/child_process/spawn-echo.js index 7c9e851aacb..72822f87db8 100644 --- a/benchmark/child_process/spawn-echo.js +++ b/benchmark/child_process/spawn-echo.js @@ -1,15 +1,15 @@ 'use strict'; var common = require('../common.js'); var bench = common.createBenchmark(main, { - thousands: [1] + n: [1000] }); var spawn = require('child_process').spawn; function main(conf) { - var len = +conf.thousands * 1000; + var n = +conf.n; bench.start(); - go(len, len); + go(n, n); } function go(n, left) { |