Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.56 Safari/537.36
Chrome 83
Fedora
Desktop
4 years ago
Test name Executions per second
subarray direct 8710115.0 Ops/sec
slice direct 6997591.5 Ops/sec
subarray copy 3024631.2 Ops/sec
slice copy 2768751.2 Ops/sec
subarray set 3018286.8 Ops/sec
slice set 2794016.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;