Test name | Executions per second |
---|---|
Lodash cloneDeep | 196823.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 3325035.2 Ops/sec |
Native JSON parse | 204835.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3346361.2 Ops/sec |
Native map(shallow clone) | 6561146.5 Ops/sec |
Recursive deep clone | 204582.4 Ops/sec |
Map deep clone | 221583.7 Ops/sec |
Object.assign shallow clone | 3477245.8 Ops/sec |