Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0
Firefox 96
Windows 7
Desktop
2 years ago
Test name Executions per second
subarray direct 5881363.5 Ops/sec
slice direct 9228639.0 Ops/sec
subarray copy 3040047.2 Ops/sec
slice copy 3819919.5 Ops/sec
subarray set 4329684.0 Ops/sec
slice set 6410288.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;