Test case name | Result |
---|---|
Array.prototype.concat | |
Array.prototype.push | |
Array.prototype.splice | |
spread operator |
Test name | Executions per second |
---|---|
Array.prototype.concat | 2983940.0 Ops/sec |
Array.prototype.push | 8085965.0 Ops/sec |
Array.prototype.splice | 3241472.2 Ops/sec |
spread operator | 0.3 Ops/sec |