Test name | Executions per second |
---|---|
Lodash cloneDeep | 401810.4 Ops/sec |
Native map deep slice(turns objects into arrays) | 7031159.0 Ops/sec |
Native JSON parse | 762845.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6603159.0 Ops/sec |
Native map(shallow clone) | 12144516.0 Ops/sec |
Recursive deep clone | 461634.0 Ops/sec |
Map deep clone | 506540.6 Ops/sec |
Object.assign shallow clone | 7474295.0 Ops/sec |