Test name | Executions per second |
---|---|
Lodash cloneDeep | 214837.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 2695197.0 Ops/sec |
Native JSON parse | 221665.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2611460.0 Ops/sec |
Native map(shallow clone) | 5141646.0 Ops/sec |
Recursive deep clone | 165548.8 Ops/sec |
Map deep clone | 169858.9 Ops/sec |
Object.assign shallow clone | 2756220.2 Ops/sec |