Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.14.1 Chrome/77.0.3865.129 Safari/537.36
Chrome 77
Linux
Desktop
4 years ago
Test name Executions per second
Array.prototype.concat 4672790.0 Ops/sec
Array.prototype.push 9336343.0 Ops/sec
Array.prototype.reduce 10876894.0 Ops/sec
For-each 6248153.5 Ops/sec
For-of 6406810.0 Ops/sec
For-in 1862941.5 Ops/sec
For 7374548.5 Ops/sec
The Spread-Operator 5939115.0 Ops/sec
Tests:
  • Array.prototype.concat

  • Array.prototype.push

  • Array.prototype.reduce

  • For-each

  • For-of

  • For-in

  • For

  • The Spread-Operator


;