Test name | Executions per second |
---|---|
Lodash cloneDeep | 205669.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 2982663.0 Ops/sec |
Native JSON parse | 209980.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2979915.2 Ops/sec |
Native map(shallow clone) | 5824808.0 Ops/sec |
Recursive deep clone | 176494.5 Ops/sec |
Map deep clone | 195709.2 Ops/sec |
Object.assign shallow clone | 3059747.8 Ops/sec |