Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0
Firefox 92
Windows 8.1
Desktop
3 years ago
Test name Executions per second
subarray direct 1168231.9 Ops/sec
slice direct 1832581.9 Ops/sec
subarray copy 600254.0 Ops/sec
slice copy 860061.1 Ops/sec
subarray set 892000.4 Ops/sec
slice set 1403903.6 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set