Test name | Executions per second |
---|---|
Lodash cloneDeep | 429901.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 6042826.0 Ops/sec |
Native JSON parse | 414442.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6068199.0 Ops/sec |
Native map(shallow clone) | 11845674.0 Ops/sec |
Recursive deep clone | 373238.0 Ops/sec |
Map deep clone | 409777.9 Ops/sec |
Object.assign shallow clone | 6485340.5 Ops/sec |