Run details:
Mozilla/5.0 (Linux; Android 6.0.1; NX531J) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.117 Mobile Safari/537.36
Chrome Mobile 81
Android 6.0.1
Mobile
4 years ago
Test name Executions per second
subarray direct 1633171.6 Ops/sec
slice direct 887372.5 Ops/sec
subarray copy 318266.1 Ops/sec
slice copy 256272.3 Ops/sec
subarray set 345953.7 Ops/sec
slice set 341351.4 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set