Test case name | Result |
---|---|
Using the spread operator | |
Using single item addition. | |
using object assign |
Test name | Executions per second |
---|---|
Using the spread operator | 2352355.0 Ops/sec |
Using single item addition. | 2312240.0 Ops/sec |
using object assign | 6520426.0 Ops/sec |