Test case name | Result |
---|---|
structuredClone | |
Native JSON parse | |
Recursive deep clone | |
Lodash cloneDeep |
Test name | Executions per second |
---|---|
structuredClone | 868.1 Ops/sec |
Native JSON parse | 1167.3 Ops/sec |
Recursive deep clone | 955.1 Ops/sec |
Lodash cloneDeep | 918.2 Ops/sec |