Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Windows
Desktop
10 days ago
Test name Executions per second
subarray direct 8049036.0 Ops/sec
slice direct 10980891.0 Ops/sec
subarray copy 4609577.5 Ops/sec
slice copy 5763703.5 Ops/sec
subarray set 6263372.0 Ops/sec
slice set 7807001.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set