Test name | Executions per second |
---|---|
Lodash cloneDeep | 300060.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 4343195.5 Ops/sec |
Native JSON parse | 324620.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4364907.5 Ops/sec |
Native map(shallow clone) | 8640287.0 Ops/sec |
Recursive deep clone | 259904.4 Ops/sec |
Map deep clone | 296784.4 Ops/sec |
Object.assign shallow clone | 4732919.0 Ops/sec |