Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 OPR/96.0.0.0
Opera 96
Windows
Desktop
one year ago
Test name Executions per second
subarray direct 3952722.5 Ops/sec
slice direct 3025947.8 Ops/sec
subarray copy 1606977.9 Ops/sec
slice copy 1403345.6 Ops/sec
subarray set 1485776.4 Ops/sec
slice set 1286977.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set