Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36
Chrome 63
Mac OS X 10.13.2
Other
7 years ago
Test name Executions per second
rest with 10 args 7438530.0 Ops/sec
rest with 1 arg 10029255.0 Ops/sec
argsToArray with 10 args 1793108.8 Ops/sec
argsToArray with 1 arg 2654654.2 Ops/sec
Script Preparation code:
Tests:
  • rest with 10 args

  • rest with 1 arg

  • argsToArray with 10 args

  • argsToArray with 1 arg