Run details:
Mozilla/5.0 (Linux; Android 8.1.0; SM-T580) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Safari/537.36
Chrome 90
Android 8.1.0
Tablet
3 years ago
Test name Executions per second
subarray direct 761305.4 Ops/sec
slice direct 624553.4 Ops/sec
subarray copy 281536.2 Ops/sec
slice copy 256649.3 Ops/sec
subarray set 288616.4 Ops/sec
slice set 265575.8 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set