Run details:
Mozilla/5.0 (Linux; Android 11; M2012K11AG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
subarray direct 5787121.5 Ops/sec
slice direct 4811375.5 Ops/sec
subarray copy 1990192.2 Ops/sec
slice copy 1892631.2 Ops/sec
subarray set 1786448.1 Ops/sec
slice set 1530204.2 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set