Test name | Executions per second |
---|---|
Lodash cloneDeep | 181623.3 Ops/sec |
Native map deep slice(turns objects into arrays) | 2737178.2 Ops/sec |
Native JSON parse | 263385.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2869589.2 Ops/sec |
Native map(shallow clone) | 6023724.5 Ops/sec |
Recursive deep clone | 203655.1 Ops/sec |
Map deep clone | 225783.3 Ops/sec |
Object.assign shallow clone | 3237879.5 Ops/sec |