Test name | Executions per second |
---|---|
Lodash cloneDeep | 356479.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 4550583.0 Ops/sec |
Native JSON parse | 486976.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4347523.5 Ops/sec |
Native map(shallow clone) | 7899873.0 Ops/sec |
Recursive deep clone | 295925.7 Ops/sec |
Map deep clone | 331988.2 Ops/sec |
Object.assign shallow clone | 3348637.8 Ops/sec |