Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111
Windows
Desktop
one year ago
Test name Executions per second
subarray direct 9646749.0 Ops/sec
slice direct 15357305.0 Ops/sec
subarray copy 6070930.5 Ops/sec
slice copy 7746789.5 Ops/sec
subarray set 7096442.0 Ops/sec
slice set 10745061.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set