Run details:
Mozilla/5.0 (iPad; CPU OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/95.0.4638.50 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 95
iOS 15.0
Tablet
3 years ago
Test name Executions per second
subarray direct 10235179.0 Ops/sec
slice direct 4327569.5 Ops/sec
subarray copy 4791984.5 Ops/sec
slice copy 1893964.6 Ops/sec
subarray set 5102751.0 Ops/sec
slice set 2895305.8 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;