Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Windows 8.1
Desktop
one year ago
Test name Executions per second
subarray direct 4753514.5 Ops/sec
slice direct 6109039.0 Ops/sec
subarray copy 2894875.0 Ops/sec
slice copy 3336177.0 Ops/sec
subarray set 3452563.2 Ops/sec
slice set 4293525.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set