Test name | Executions per second |
---|---|
Lodash cloneDeep | 222456.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 3401533.5 Ops/sec |
Native JSON parse | 257438.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3389404.0 Ops/sec |
Native map(shallow clone) | 6731557.0 Ops/sec |
Recursive deep clone | 218680.6 Ops/sec |
Map deep clone | 238541.1 Ops/sec |
Object.assign shallow clone | 3703251.5 Ops/sec |