Test name | Executions per second |
---|---|
Lodash cloneDeep | 194224.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 2512189.8 Ops/sec |
Native JSON parse | 197349.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2494637.5 Ops/sec |
Native map(shallow clone) | 5597096.0 Ops/sec |
Recursive deep clone | 173638.5 Ops/sec |
Map deep clone | 193388.2 Ops/sec |
Object.assign shallow clone | 2824963.0 Ops/sec |