Test name | Executions per second |
---|---|
Lodash cloneDeep | 246112.2 Ops/sec |
Native map deep slice(turns objects into arrays) | 3136719.5 Ops/sec |
Native JSON parse | 276958.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3057060.0 Ops/sec |
Native map(shallow clone) | 6261277.0 Ops/sec |
Recursive deep clone | 188818.4 Ops/sec |
Map deep clone | 199257.1 Ops/sec |
Object.assign shallow clone | 3330275.8 Ops/sec |