Test name | Executions per second |
---|---|
Lodash cloneDeep | 203506.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 2823450.2 Ops/sec |
Native JSON parse | 246217.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2853350.0 Ops/sec |
Native map(shallow clone) | 5563452.5 Ops/sec |
Recursive deep clone | 163767.5 Ops/sec |
Map deep clone | 178452.1 Ops/sec |
Object.assign shallow clone | 2852611.2 Ops/sec |