Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0
Firefox 73
Ubuntu
Desktop
4 years ago
Test name Executions per second
subarray direct 1981096.1 Ops/sec
slice direct 3052349.2 Ops/sec
subarray copy 897475.8 Ops/sec
slice copy 1156450.1 Ops/sec
subarray set 1333787.8 Ops/sec
slice set 1856356.8 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set