Test name | Executions per second |
---|---|
Lodash cloneDeep | 196006.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 3056287.5 Ops/sec |
Native JSON parse | 215635.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2915461.8 Ops/sec |
Native map(shallow clone) | 5472654.0 Ops/sec |
Recursive deep clone | 170914.8 Ops/sec |
Map deep clone | 181222.0 Ops/sec |
Object.assign shallow clone | 2360504.8 Ops/sec |