Test name | Executions per second |
---|---|
Lodash cloneDeep | 133603.4 Ops/sec |
Native map deep slice(turns objects into arrays) | 1809796.6 Ops/sec |
Native JSON parse | 142037.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1789928.4 Ops/sec |
Native map(shallow clone) | 3372703.0 Ops/sec |
Recursive deep clone | 96452.5 Ops/sec |
Map deep clone | 106357.9 Ops/sec |
Object.assign shallow clone | 1815409.8 Ops/sec |