Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Windows
Desktop
one year ago
Test name Executions per second
subarray direct 7157089.5 Ops/sec
slice direct 11884637.0 Ops/sec
subarray copy 3468657.0 Ops/sec
slice copy 4405202.0 Ops/sec
subarray set 5043481.0 Ops/sec
slice set 6910400.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set