Test name | Executions per second |
---|---|
Lodash cloneDeep | 248009.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 2869203.8 Ops/sec |
Native JSON parse | 310382.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2863759.5 Ops/sec |
Native map(shallow clone) | 5395932.0 Ops/sec |
Recursive deep clone | 179907.8 Ops/sec |
Map deep clone | 196058.3 Ops/sec |
Object.assign shallow clone | 3111563.0 Ops/sec |