Run details:
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
Mac OS X 10.15.7
Desktop
one year ago
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
Tests:
  • Array.prototype.concat

  • Array.prototype.push

  • Array.prototype.reduce

  • For-each

  • For-of

  • For-in

  • For

  • The Spread-Operator


;