Test name | Executions per second |
---|---|
Using the spread operator | 8546423.0 Ops/sec |
Using Object.assign | 18443850.0 Ops/sec |
Manually copying properties | 51300900.0 Ops/sec |
Create new object while copying | 258482400.0 Ops/sec |
Create new object from scratch | 250854200.0 Ops/sec |