Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36
Chrome 88
Mac OS X 11.2.1
Desktop
3 years ago
Test name Executions per second
subarray direct 16775078.0 Ops/sec
slice direct 13742082.0 Ops/sec
subarray copy 5050400.5 Ops/sec
slice copy 4735150.5 Ops/sec
subarray set 5164091.0 Ops/sec
slice set 4863803.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;