Object.assign vs JSON stringify and parse vs jQuery.extend vs structuredClone| Test case name | Result |
|---|---|
| Object.assign | |
| JSON stringify and parse | |
| jQuery.extend | |
| structuredClone |
| Test name | Executions per second |
|---|---|
| ✓ Object.assign | 14,644,865 Ops/sec |
| jQuery.extend | 1,638,098 Ops/sec |
| JSON stringify and parse | 1,051,177 Ops/sec |
| structuredClone | 476,161 Ops/sec |