Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Linux
Desktop
5 years ago
Test name Executions per second
subarray direct 6556079.0 Ops/sec
slice direct 13410975.0 Ops/sec
subarray copy 2948101.5 Ops/sec
slice copy 4396437.0 Ops/sec
subarray set 4396804.5 Ops/sec
slice set 7861766.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set