Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36
Chrome 87
Mac OS X 11.1.0
Desktop
3 years ago
Test name Executions per second
subarray direct 8385756.5 Ops/sec
slice direct 7084738.5 Ops/sec
subarray copy 2772227.5 Ops/sec
slice copy 2612504.5 Ops/sec
subarray set 2906335.0 Ops/sec
slice set 2707097.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set