Test name | Executions per second |
---|---|
Lodash cloneDeep | 214332.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 3059914.0 Ops/sec |
Native JSON parse | 225284.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3231096.5 Ops/sec |
Native map(shallow clone) | 6195380.5 Ops/sec |
Recursive deep clone | 187182.4 Ops/sec |
Map deep clone | 204464.6 Ops/sec |
Object.assign shallow clone | 3089707.0 Ops/sec |