Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Windows
Desktop
20 days ago
Test name Executions per second
subarray direct 4024131.5 Ops/sec
slice direct 4878219.0 Ops/sec
subarray copy 2444954.5 Ops/sec
slice copy 2624683.2 Ops/sec
subarray set 2868013.8 Ops/sec
slice set 3302640.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set