Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130
Windows
Desktop
2 months ago
Test name Executions per second
subarray direct 16612488.0 Ops/sec
slice direct 22977828.0 Ops/sec
subarray copy 10399924.0 Ops/sec
slice copy 12436432.0 Ops/sec
subarray set 11960097.0 Ops/sec
slice set 14915750.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set