Test name | Executions per second |
---|---|
Lodash cloneDeep | 135676.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 1704003.0 Ops/sec |
Native JSON parse | 109924.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1757012.8 Ops/sec |
Native map(shallow clone) | 3292852.8 Ops/sec |
Recursive deep clone | 108051.7 Ops/sec |
Map deep clone | 112034.5 Ops/sec |
Object.assign shallow clone | 1803932.5 Ops/sec |