Using the spread operator vs Using Object.assign vs swc vs Manualy vs json vs only parse vs structuredClone| Test case name | Result |
|---|---|
| Using the spread operator | |
| Using Object.assign | |
| swc | |
| Manualy | |
| json | |
| only parse | |
| structuredClone |
| Test name | Executions per second |
|---|---|
| ✓ Manualy | 782 Ops/sec |
| swc | 724 Ops/sec |
| Using the spread operator | 544 Ops/sec |
| only parse | 522 Ops/sec |
| Using Object.assign | 445 Ops/sec |
| json | 249 Ops/sec |
| structuredClone | 197 Ops/sec |