Test name | Executions per second |
---|---|
Lodash cloneDeep | 225238.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 3260183.0 Ops/sec |
Native JSON parse | 255815.1 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3291730.0 Ops/sec |
Native map(shallow clone) | 6420785.5 Ops/sec |
Recursive deep clone | 199938.8 Ops/sec |
Map deep clone | 223695.0 Ops/sec |
Object.assign shallow clone | 3427277.5 Ops/sec |