Test case name | Result |
---|---|
Lodash cloneDeep | |
Native JSON parse | |
Recursive deep clone | |
structuredClone |
Test name | Executions per second |
---|---|
Lodash cloneDeep | 954.2 Ops/sec |
Native JSON parse | 1277.7 Ops/sec |
Recursive deep clone | 1044.1 Ops/sec |
structuredClone | 932.3 Ops/sec |