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 5695772.0 Ops/sec
slice direct 4826729.5 Ops/sec
subarray copy 1992778.9 Ops/sec
slice copy 1919560.1 Ops/sec
subarray set 2110965.2 Ops/sec
slice set 2008412.1 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set