Test name | Executions per second |
---|---|
Lodash cloneDeep | 200455.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 2830169.2 Ops/sec |
Native JSON parse | 221039.6 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2887907.2 Ops/sec |
Native map(shallow clone) | 5720389.0 Ops/sec |
Recursive deep clone | 187648.1 Ops/sec |
Map deep clone | 205774.7 Ops/sec |
Object.assign shallow clone | 3125867.2 Ops/sec |