Test case name | Result |
---|---|
Lodash clone | |
Lodash cloneDeep | |
JSON.parse(JSON.stringify(o)) | |
structuredClone |
Test name | Executions per second |
---|---|
Lodash clone | 3340079.5 Ops/sec |
Lodash cloneDeep | 501803.0 Ops/sec |
JSON.parse(JSON.stringify(o)) | 833871.2 Ops/sec |
structuredClone | 482286.3 Ops/sec |