Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.101 Safari/537.36 OPR/40.0.2308.62
Opera 40
Windows 7
Other
8 years ago
Test name Executions per second
array.splice 5424.2 Ops/sec
for loop 2081.9 Ops/sec
array.splice w/o spread 3591.2 Ops/sec
Script Preparation code:
Tests:
  • array.splice

  • for loop

  • array.splice w/o spread


;