Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
Chrome 85
Linux
Desktop
4 years ago
Test name Executions per second
subarray direct 7120977.0 Ops/sec
slice direct 6061310.5 Ops/sec
subarray copy 2311515.5 Ops/sec
slice copy 2235620.5 Ops/sec
subarray set 2550268.5 Ops/sec
slice set 2429153.8 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set