Test case name | Result |
---|---|
Lodash cloneDeep | |
custom deepFreeze() | |
custom deepClone() | |
JSON |
Test name | Executions per second |
---|---|
Lodash cloneDeep | 137306.7 Ops/sec |
custom deepFreeze() | 453923.6 Ops/sec |
custom deepClone() | 1375764.2 Ops/sec |
JSON | 420146.2 Ops/sec |