Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36
Chrome 71
Fedora
Desktop
5 years ago
Test name Executions per second
subarray direct 5266257.5 Ops/sec
slice direct 5270910.5 Ops/sec
subarray copy 2027237.0 Ops/sec
slice copy 2131492.2 Ops/sec
subarray set 2255562.8 Ops/sec
slice set 2270490.2 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;