Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113
Windows
Desktop
one year ago
Test name Executions per second
subarray direct 9660767.0 Ops/sec
slice direct 16678338.0 Ops/sec
subarray copy 7084238.5 Ops/sec
slice copy 8777972.0 Ops/sec
subarray set 7918700.5 Ops/sec
slice set 11659102.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set