Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0
Firefox 94
Ubuntu
Desktop
3 years ago
Test name Executions per second
Array.concat 2157286.2 Ops/sec
Array.slice 5318872.0 Ops/sec
For loop 2322787.5 Ops/sec
For loop with declared length 2284311.5 Ops/sec
While loop 2362752.5 Ops/sec
Tests:
  • Array.concat

  • Array.slice

  • For loop

  • For loop with declared length

  • While loop