Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Chrome 89
Linux
Desktop
3 years ago
Test name Executions per second
subarray direct 6144970.5 Ops/sec
slice direct 5217458.5 Ops/sec
subarray copy 2038301.1 Ops/sec
slice copy 1896903.4 Ops/sec
subarray set 2143184.0 Ops/sec
slice set 2014969.1 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;