Tests:
  • Array.prototype.concat

  • Array.prototype.push

  • Array.prototype.reduce

  • For-each

  • For-of

  • For-in

  • For

  • The Spread-Operator

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.concat
    Array.prototype.push
    Array.prototype.reduce
    For-each
    For-of
    For-in
    For
    The Spread-Operator

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Array.prototype.concat 15973587.0 Ops/sec
Array.prototype.push 59661620.0 Ops/sec
Array.prototype.reduce 55051796.0 Ops/sec
For-each 51318844.0 Ops/sec
For-of 51442724.0 Ops/sec
For-in 7629409.5 Ops/sec
For 55140152.0 Ops/sec
The Spread-Operator 37144080.0 Ops/sec