Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36 Edg/88.0.705.56
Chrome 88
Mac OS X 10.15.6
Desktop
3 years ago
Test name Executions per second
subarray direct 8322528.0 Ops/sec
slice direct 6822453.0 Ops/sec
subarray copy 2600343.0 Ops/sec
slice copy 2516977.5 Ops/sec
subarray set 2839267.5 Ops/sec
slice set 2673932.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;