Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0
Firefox 126
Mac OS X 10.15
Desktop
7 months ago
Test name Executions per second
subarray direct 18284500.0 Ops/sec
slice direct 22686380.0 Ops/sec
subarray copy 10725165.0 Ops/sec
slice copy 10072267.0 Ops/sec
subarray set 12596209.0 Ops/sec
slice set 12180458.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set