Run details:
Mozilla/5.0 (Linux; Android 12; Pixel 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Mobile Safari/537.36
Chrome Mobile 97
Android
Mobile
2 years ago
Test name Executions per second
subarray direct 7840753.5 Ops/sec
slice direct 6669917.0 Ops/sec
subarray copy 2471092.5 Ops/sec
slice copy 2284580.5 Ops/sec
subarray set 2598588.5 Ops/sec
slice set 2446193.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;