Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Linux
Desktop
4 years ago
Test name Executions per second
Array.prototype.concat 3600136.5 Ops/sec
Array.prototype.push 2741095.0 Ops/sec
Array.prototype.reduce 7667778.0 Ops/sec
For-each 4342999.0 Ops/sec
For-of 6571121.0 Ops/sec
For-in 429482.8 Ops/sec
For 7805248.0 Ops/sec
The Spread-Operator 3771009.0 Ops/sec
Tests:
  • Array.prototype.concat

  • Array.prototype.push

  • Array.prototype.reduce

  • For-each

  • For-of

  • For-in

  • For

  • The Spread-Operator


;