Test name | Executions per second |
---|---|
Lodash cloneDeep | 176858.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 2212598.5 Ops/sec |
Native JSON parse | 190542.3 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2325037.0 Ops/sec |
Native map(shallow clone) | 4952586.5 Ops/sec |
Recursive deep clone | 158695.6 Ops/sec |
Map deep clone | 174218.9 Ops/sec |
Object.assign shallow clone | 2478803.2 Ops/sec |