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 1971335.8 Ops/sec
Array.slice 5564551.0 Ops/sec
For loop 2248770.5 Ops/sec
For loop with declared length 2258985.5 Ops/sec
While loop 2326396.8 Ops/sec
Tests:
  • Array.concat

  • Array.slice

  • For loop

  • For loop with declared length

  • While loop