Test name | Executions per second |
---|---|
Lodash cloneDeep | 428431.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 5683752.5 Ops/sec |
Native JSON parse | 433944.6 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5675185.5 Ops/sec |
Native map(shallow clone) | 11303481.0 Ops/sec |
Recursive deep clone | 358782.4 Ops/sec |
Map deep clone | 399734.4 Ops/sec |
Object.assign shallow clone | 6396047.5 Ops/sec |