Test name | Executions per second |
---|---|
Lodash cloneDeep | 375647.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 5223678.0 Ops/sec |
Native JSON parse | 380808.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5176541.5 Ops/sec |
Native map(shallow clone) | 10453260.0 Ops/sec |
Recursive deep clone | 294288.2 Ops/sec |
Map deep clone | 330198.5 Ops/sec |
Object.assign shallow clone | 5578598.5 Ops/sec |