Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3576.0 Safari/537.36
Chrome 71
Windows 7
Desktop
6 years ago
Test name Executions per second
add 5356.3 Ops/sec
add2 5377.9 Ops/sec
shift 4534.8 Ops/sec
slice (fastest) 9881.6 Ops/sec
slice in object 6574.2 Ops/sec
Script Preparation code:
Tests:
  • add

  • add2

  • shift

  • slice (fastest)

  • slice in object


;