Test name | Executions per second |
---|---|
Using the spread operator | 43951740.0 Ops/sec |
Using Object.assign | 5034822.0 Ops/sec |
Manually copying properties | 992088300.0 Ops/sec |
Create new object while copying | 962004000.0 Ops/sec |
Create new object from scratch | 982377200.0 Ops/sec |