Test name | Executions per second |
---|---|
Lodash cloneDeep | 153122.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 2244982.5 Ops/sec |
Native JSON parse | 160782.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2242726.0 Ops/sec |
Native map(shallow clone) | 4310905.5 Ops/sec |
Recursive deep clone | 136443.5 Ops/sec |
Map deep clone | 148337.5 Ops/sec |
Object.assign shallow clone | 2370218.2 Ops/sec |