Test name | Executions per second |
---|---|
Lodash cloneDeep | 414786.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 5535552.0 Ops/sec |
Native JSON parse | 425975.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5516728.5 Ops/sec |
Native map(shallow clone) | 10826069.0 Ops/sec |
Recursive deep clone | 339221.2 Ops/sec |
Map deep clone | 376611.9 Ops/sec |
Object.assign shallow clone | 6040493.5 Ops/sec |