Run details:
Mozilla/5.0 (Linux; Android 9; moto z3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.117 Mobile Safari/537.36
Chrome Mobile 80
Android
Mobile
4 years ago
Test name Executions per second
subarray direct 3141289.2 Ops/sec
slice direct 2493445.2 Ops/sec
subarray copy 1056142.9 Ops/sec
slice copy 961889.5 Ops/sec
subarray set 1103215.5 Ops/sec
slice set 1012056.1 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set