Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Windows
Desktop
7 days ago
Test name Executions per second
subarray direct 16658306.0 Ops/sec
slice direct 23073770.0 Ops/sec
subarray copy 10410383.0 Ops/sec
slice copy 12856882.0 Ops/sec
subarray set 12072839.0 Ops/sec
slice set 14303276.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set