Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0
Firefox 88
Ubuntu
Desktop
3 years ago
Test name Executions per second
subarray direct 5709942.0 Ops/sec
slice direct 8343838.5 Ops/sec
subarray copy 2827303.2 Ops/sec
slice copy 3534571.2 Ops/sec
subarray set 4090321.8 Ops/sec
slice set 5453896.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set