Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Mac OS X 10.14
Desktop
5 years ago
Test name Executions per second
subarray direct 5758377.5 Ops/sec
slice direct 10814261.0 Ops/sec
subarray copy 2770107.5 Ops/sec
slice copy 4215980.0 Ops/sec
subarray set 4181675.8 Ops/sec
slice set 6883268.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set