Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Mobile Safari/537.36
Chrome Mobile 128
Android
Mobile
3 months ago
Test name Executions per second
subarray direct 1158183.8 Ops/sec
slice direct 966896.1 Ops/sec
subarray copy 415607.6 Ops/sec
slice copy 389795.5 Ops/sec
subarray set 394058.5 Ops/sec
slice set 403282.9 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set