Test name | Executions per second |
---|---|
Lodash cloneDeep | 115400.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 6641811.5 Ops/sec |
Native JSON parse | 213534.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 6205368.5 Ops/sec |
Native map(shallow clone) | 15736224.0 Ops/sec |
Recursive deep clone | 1085260.2 Ops/sec |
Map deep clone | 1099536.8 Ops/sec |
Object.assign shallow clone | 11983139.0 Ops/sec |