Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Windows
Desktop
2 years ago
Test name Executions per second
subarray direct 6543416.5 Ops/sec
slice direct 9081457.0 Ops/sec
subarray copy 3235590.2 Ops/sec
slice copy 3794249.0 Ops/sec
subarray set 4787129.0 Ops/sec
slice set 5984642.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;