Test name | Executions per second |
---|---|
Lodash cloneDeep | 168981.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 2017038.2 Ops/sec |
Native JSON parse | 197061.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2022990.1 Ops/sec |
Native map(shallow clone) | 4000658.5 Ops/sec |
Recursive deep clone | 124815.5 Ops/sec |
Map deep clone | 136382.2 Ops/sec |
Object.assign shallow clone | 2244764.5 Ops/sec |