Test case name | Result |
---|---|
Array.prototype.concat | |
Array.prototype.push | |
Array.prototype.reduce | |
For-each | |
For-of | |
For-in | |
For | |
The Spread-Operator |
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 |