Test name | Executions per second |
---|---|
Lodash cloneDeep | 111185.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 6216582.0 Ops/sec |
Native JSON parse | 157593.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6804045.5 Ops/sec |
Native map(shallow clone) | 19388242.0 Ops/sec |
Recursive deep clone | 727243.9 Ops/sec |
Map deep clone | 718374.2 Ops/sec |
Object.assign shallow clone | 9256256.0 Ops/sec |