Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Windows
Desktop
one year ago
Test name Executions per second
subarray direct 27979968.0 Ops/sec
slice direct 18595650.0 Ops/sec
subarray copy 10540997.0 Ops/sec
slice copy 9872799.0 Ops/sec
subarray set 8350002.0 Ops/sec
slice set 5208410.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;