Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83
Mac OS X 10.16
Desktop
4 years ago
Test name Executions per second
rest with 10 args 7593549.5 Ops/sec
rest with 1 arg 15670709.0 Ops/sec
argsToArray with 10 args 4001228.5 Ops/sec
argsToArray with 1 arg 8999644.0 Ops/sec
Script Preparation code:
Tests:
  • rest with 10 args

  • rest with 1 arg

  • argsToArray with 10 args

  • argsToArray with 1 arg