Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0
Firefox 67
Mac OS X 10.14
Desktop
5 years ago
Test name Executions per second
subarray direct 4925891.0 Ops/sec
slice direct 7144665.5 Ops/sec
subarray copy 2177983.5 Ops/sec
slice copy 2919864.2 Ops/sec
subarray set 2870575.2 Ops/sec
slice set 4347719.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set