Run details:
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Chrome 106
Windows 7
Desktop
2 years ago
Test name Executions per second
subarray direct 4903007.0 Ops/sec
slice direct 4214285.0 Ops/sec
subarray copy 2110997.2 Ops/sec
slice copy 1963690.0 Ops/sec
subarray set 1955580.9 Ops/sec
slice set 1831391.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;