Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0
Firefox 127
Ubuntu
Desktop
5 months ago
Test name Executions per second
subarray direct 7117156.5 Ops/sec
slice direct 12899934.0 Ops/sec
subarray copy 4864815.5 Ops/sec
slice copy 6066845.5 Ops/sec
subarray set 4448828.0 Ops/sec
slice set 8090784.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set