Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0
Firefox 122
Ubuntu
Desktop
10 months ago
Test name Executions per second
subarray direct 9212518.0 Ops/sec
slice direct 16653172.0 Ops/sec
subarray copy 5679699.5 Ops/sec
slice copy 7435320.0 Ops/sec
subarray set 6651549.0 Ops/sec
slice set 10243935.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set