Test name | Executions per second |
---|---|
Lodash cloneDeep | 297932.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 4648230.0 Ops/sec |
Native JSON parse | 324327.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 4492465.0 Ops/sec |
Native map(shallow clone) | 8785569.0 Ops/sec |
Recursive deep clone | 286089.7 Ops/sec |
Map deep clone | 308210.5 Ops/sec |
Object.assign shallow clone | 4874588.0 Ops/sec |