Run details:
Mozilla/5.0 (Windows NT 6.1; rv:106.0) Gecko/20100101 Firefox/106.0
Firefox 106
Windows 7
Desktop
2 years ago
Test name Executions per second
subarray direct 4031434.2 Ops/sec
slice direct 6774450.0 Ops/sec
subarray copy 2455378.2 Ops/sec
slice copy 3398157.2 Ops/sec
subarray set 2915293.8 Ops/sec
slice set 4243034.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;