Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0
Firefox 76
Fedora
Desktop
3 years ago
Test name Executions per second
subarray direct 3128677.0 Ops/sec
slice direct 4862393.0 Ops/sec
subarray copy 1318818.1 Ops/sec
slice copy 1517769.1 Ops/sec
subarray set 1469216.9 Ops/sec
slice set 2349970.2 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set