Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:73.0) Gecko/20100101 Firefox/73.0
Firefox 73
Mac OS X 10.14
Desktop
4 years ago
Test name Executions per second
subarray direct 7686615.5 Ops/sec
slice direct 12854683.0 Ops/sec
subarray copy 2561271.8 Ops/sec
slice copy 4468647.5 Ops/sec
subarray set 5311029.5 Ops/sec
slice set 7766796.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set