Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:96.0) Gecko/20100101 Firefox/96.0
Firefox 96
Mac OS X 10.12
Desktop
2 years ago
Test name Executions per second
subarray direct 3517010.0 Ops/sec
slice direct 5511274.0 Ops/sec
subarray copy 1854152.9 Ops/sec
slice copy 2316323.5 Ops/sec
subarray set 2718147.2 Ops/sec
slice set 3905504.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set