Test name | Executions per second |
---|---|
Lodash cloneDeep | 170188.1 Ops/sec |
Native map deep slice(turns objects into arrays) | 2738640.8 Ops/sec |
Native JSON parse | 189656.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2667533.8 Ops/sec |
Native map(shallow clone) | 5155061.0 Ops/sec |
Recursive deep clone | 158398.8 Ops/sec |
Map deep clone | 171717.2 Ops/sec |
Object.assign shallow clone | 2862469.2 Ops/sec |