Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome 87
Mac OS X 11.0.1
Desktop
3 years ago
Test name Executions per second
subarray direct 4630605.0 Ops/sec
slice direct 4482016.5 Ops/sec
subarray copy 1825253.8 Ops/sec
slice copy 1625594.4 Ops/sec
subarray set 1880873.2 Ops/sec
slice set 1839373.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;