Test case name | Result |
---|---|
Array.prototype.concat | |
spread operator | |
spread operator (to existing array) | |
Push |
Test name | Executions per second |
---|---|
Array.prototype.concat | 2719859.5 Ops/sec |
spread operator | 1063712.5 Ops/sec |
spread operator (to existing array) | 1041102.1 Ops/sec |
Push | 1348727.1 Ops/sec |