Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0
Firefox 74
Windows
Desktop
4 years ago
Test name Executions per second
subarray direct 5290405.0 Ops/sec
slice direct 10692044.0 Ops/sec
subarray copy 2648458.8 Ops/sec
slice copy 3733227.5 Ops/sec
subarray set 3866200.2 Ops/sec
slice set 6574075.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set