Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36
Chrome 89
Linux
Desktop
3 years ago
Test name Executions per second
subarray direct 11959490.0 Ops/sec
slice direct 8757339.0 Ops/sec
subarray copy 3625138.2 Ops/sec
slice copy 3512428.5 Ops/sec
subarray set 3867981.2 Ops/sec
slice set 3633284.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;