Test name | Executions per second |
---|---|
Lodash cloneDeep | 242431.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 3331770.2 Ops/sec |
Native JSON parse | 256906.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2498229.0 Ops/sec |
Native map(shallow clone) | 4342853.5 Ops/sec |
Recursive deep clone | 147595.7 Ops/sec |
Map deep clone | 102971.7 Ops/sec |
Object.assign shallow clone | 1227015.4 Ops/sec |