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 3890297.8 Ops/sec
slice direct 2936122.5 Ops/sec
subarray copy 1609213.1 Ops/sec
slice copy 1395266.6 Ops/sec
subarray set 1439214.0 Ops/sec
slice set 1243481.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set