Test name | Executions per second |
---|---|
Lodash cloneDeep | 199274.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 3111917.0 Ops/sec |
Native JSON parse | 253742.7 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3147265.2 Ops/sec |
Native map(shallow clone) | 6219541.5 Ops/sec |
Recursive deep clone | 188451.7 Ops/sec |
Map deep clone | 206637.7 Ops/sec |
Object.assign shallow clone | 3274099.2 Ops/sec |