Test name | Executions per second |
---|---|
Lodash cloneDeep | 134706.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 7733547.5 Ops/sec |
Native JSON parse | 253569.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 7581875.0 Ops/sec |
Native map(shallow clone) | 20270522.0 Ops/sec |
Recursive deep clone | 380647.2 Ops/sec |
Map deep clone | 258970.0 Ops/sec |
Object.assign shallow clone | 12461909.0 Ops/sec |