Test case name | Result |
---|---|
Spread operator | |
Array apply | |
Array from | |
Array fill | |
For loop push |
Test name | Executions per second |
---|---|
Spread operator | 91.7 Ops/sec |
Array apply | 128.4 Ops/sec |
Array from | 119.8 Ops/sec |
Array fill | 224.9 Ops/sec |
For loop push | 235.3 Ops/sec |