Test name | Executions per second |
---|---|
Lodash cloneDeep | 158647.4 Ops/sec |
Native map deep slice(turns objects into arrays) | 2473677.2 Ops/sec |
Native JSON parse | 160419.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2492433.5 Ops/sec |
Native map(shallow clone) | 4740473.5 Ops/sec |
Recursive deep clone | 141628.0 Ops/sec |
Map deep clone | 151540.8 Ops/sec |
Object.assign shallow clone | 2560579.5 Ops/sec |