Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:68.9) Gecko/20100101 Goanna/4.4 Firefox/68.9 PaleMoon/28.8.4
Pale Moon (Firefox Variant) 28
Linux
Desktop
3 years ago
Test name Executions per second
subarray direct 2195327.2 Ops/sec
slice direct 3379321.5 Ops/sec
subarray copy 1098908.0 Ops/sec
slice copy 944077.0 Ops/sec
subarray set 1952868.0 Ops/sec
slice set 2049582.2 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set