Test name | Executions per second |
---|---|
Lodash cloneDeep | 324139.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 4340760.0 Ops/sec |
Native JSON parse | 384468.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4315995.0 Ops/sec |
Native map(shallow clone) | 7987570.0 Ops/sec |
Recursive deep clone | 289137.9 Ops/sec |
Map deep clone | 313579.8 Ops/sec |
Object.assign shallow clone | 4893120.0 Ops/sec |