Test name | Executions per second |
---|---|
Lodash cloneDeep | 396709.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 5321537.5 Ops/sec |
Native JSON parse | 384216.8 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5317995.5 Ops/sec |
Native map(shallow clone) | 10520523.0 Ops/sec |
Recursive deep clone | 317667.7 Ops/sec |
Map deep clone | 349413.8 Ops/sec |
Object.assign shallow clone | 5803577.0 Ops/sec |