Test name | Executions per second |
---|---|
Lodash cloneDeep | 148665.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 1820380.0 Ops/sec |
Native JSON parse | 132434.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1781632.1 Ops/sec |
Native map(shallow clone) | 3327183.0 Ops/sec |
Recursive deep clone | 113090.2 Ops/sec |
Map deep clone | 123533.8 Ops/sec |
Object.assign shallow clone | 1793599.8 Ops/sec |