Test name | Executions per second |
---|---|
Lodash cloneDeep | 150839.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 1782194.8 Ops/sec |
Native JSON parse | 133807.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1780627.0 Ops/sec |
Native map(shallow clone) | 3281987.0 Ops/sec |
Recursive deep clone | 112292.2 Ops/sec |
Map deep clone | 126887.7 Ops/sec |
Object.assign shallow clone | 1856469.8 Ops/sec |