Test name | Executions per second |
---|---|
Lodash cloneDeep | 437904.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 5906542.0 Ops/sec |
Native JSON parse | 449801.5 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5874542.0 Ops/sec |
Native map(shallow clone) | 11566974.0 Ops/sec |
Recursive deep clone | 373668.3 Ops/sec |
Map deep clone | 412894.1 Ops/sec |
Object.assign shallow clone | 6605397.0 Ops/sec |