Test name | Executions per second |
---|---|
Lodash cloneDeep | 196165.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 3127418.8 Ops/sec |
Native JSON parse | 206911.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3119649.2 Ops/sec |
Native map(shallow clone) | 6091863.0 Ops/sec |
Recursive deep clone | 180489.3 Ops/sec |
Map deep clone | 200010.3 Ops/sec |
Object.assign shallow clone | 3320272.2 Ops/sec |