Run details:
Mozilla/5.0 (Linux; Android 9; ANE-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Mobile Safari/537.36
Chrome Mobile 106
Android
Mobile
2 years ago
Test name Executions per second
subarray direct 782053.8 Ops/sec
slice direct 653130.5 Ops/sec
subarray copy 295159.4 Ops/sec
slice copy 276378.3 Ops/sec
subarray set 273271.3 Ops/sec
slice set 261950.3 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set