Test name | Executions per second |
---|---|
Lodash cloneDeep | 108247.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 1442209.4 Ops/sec |
Native JSON parse | 105508.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1405558.0 Ops/sec |
Native map(shallow clone) | 2824768.5 Ops/sec |
Recursive deep clone | 94834.5 Ops/sec |
Map deep clone | 116225.4 Ops/sec |
Object.assign shallow clone | 1771313.4 Ops/sec |