Test name | Executions per second |
---|---|
Lodash cloneDeep | 200920.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 2936902.5 Ops/sec |
Native JSON parse | 172629.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2906767.2 Ops/sec |
Native map(shallow clone) | 5359073.5 Ops/sec |
Recursive deep clone | 170224.4 Ops/sec |
Map deep clone | 181610.5 Ops/sec |
Object.assign shallow clone | 2964923.0 Ops/sec |