Test name | Executions per second |
---|---|
Using the spread operator | 47310940.0 Ops/sec |
Using Object.assign | 5096243.0 Ops/sec |
Manually copying properties | 716252500.0 Ops/sec |
Create new object while copying | 720067800.0 Ops/sec |
Create new object from scratch | 736776400.0 Ops/sec |