Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0
Firefox 72
Ubuntu
Desktop
4 years ago
Test name Executions per second
subarray direct 3855284.2 Ops/sec
slice direct 7102606.5 Ops/sec
subarray copy 1903773.5 Ops/sec
slice copy 2514377.2 Ops/sec
subarray set 2803521.5 Ops/sec
slice set 4146482.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set