Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Windows
Desktop
7 days ago
Test name Executions per second
subarray direct 16764451.0 Ops/sec
slice direct 20295544.0 Ops/sec
subarray copy 10347305.0 Ops/sec
slice copy 11539240.0 Ops/sec
subarray set 12428266.0 Ops/sec
slice set 13920114.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set