Test case name | Result |
---|---|
Lodash | |
Native structuredClone | |
Recursive deep copy | |
JSON parse/load |
Test name | Executions per second |
---|---|
Lodash | 5516.5 Ops/sec |
Native structuredClone | 7727.9 Ops/sec |
Recursive deep copy | 8645.1 Ops/sec |
JSON parse/load | 9860.4 Ops/sec |