Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0
Firefox 121
Linux
Desktop
11 months ago
Test name Executions per second
subarray direct 8876329.0 Ops/sec
slice direct 12481825.0 Ops/sec
subarray copy 5233619.5 Ops/sec
slice copy 6251095.5 Ops/sec
subarray set 6061794.5 Ops/sec
slice set 8316875.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set