Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
Firefox 67
Fedora
Desktop
5 years ago
Test name Executions per second
subarray direct 3498093.2 Ops/sec
slice direct 4722601.0 Ops/sec
subarray copy 1603555.8 Ops/sec
slice copy 1919105.8 Ops/sec
subarray set 2274086.8 Ops/sec
slice set 3099357.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set