Test case name | Result |
---|---|
Lodash cloneDeep | |
Native structuredClone | |
JSON.stringify(JSON.parse()) |
Test name | Executions per second |
---|---|
Lodash cloneDeep | 442020.1 Ops/sec |
Native structuredClone | 266015.0 Ops/sec |
JSON.stringify(JSON.parse()) | 343536.9 Ops/sec |