Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Chrome 68
Linux
Desktop
6 years ago
Test name Executions per second
subarray direct 2869694.5 Ops/sec
slice direct 2804219.2 Ops/sec
subarray copy 911711.6 Ops/sec
slice copy 895209.2 Ops/sec
subarray set 925369.2 Ops/sec
slice set 947170.1 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set