Test name | Executions per second |
---|---|
Lodash cloneDeep | 194743.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 2919578.0 Ops/sec |
Native JSON parse | 201402.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2760779.2 Ops/sec |
Native map(shallow clone) | 5500263.0 Ops/sec |
Recursive deep clone | 167899.8 Ops/sec |
Map deep clone | 181824.0 Ops/sec |
Object.assign shallow clone | 3009861.0 Ops/sec |