Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0
Firefox 75
Ubuntu
Desktop
4 years ago
Test name Executions per second
subarray direct 5536080.0 Ops/sec
slice direct 9893791.0 Ops/sec
subarray copy 2641212.8 Ops/sec
slice copy 3531793.2 Ops/sec
subarray set 3524096.5 Ops/sec
slice set 5844306.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set