diff options
Diffstat (limited to 'benchmark/misc/console.js')
-rw-r--r-- | benchmark/misc/console.js | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/benchmark/misc/console.js b/benchmark/misc/console.js index 17f7ed0f4d..9a08a411c5 100644 --- a/benchmark/misc/console.js +++ b/benchmark/misc/console.js @@ -8,11 +8,15 @@ const v8 = require('v8'); v8.setFlagsFromString('--allow_natives_syntax'); +const methods = [ + 'restAndSpread', + 'argumentsAndApply', + 'restAndApply', + 'restAndConcat' +]; + var bench = common.createBenchmark(main, { - method: ['restAndSpread', - 'argumentsAndApply', - 'restAndApply', - 'restAndConcat'], + method: methods, concat: [1, 0], n: [1000000] }); |