Test name | Executions per second |
---|---|
Lodash cloneDeep | 199469.0 Ops/sec |
Native map deep slice(turns objects into arrays) | 3029765.5 Ops/sec |
Native JSON parse | 253713.4 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 2977623.5 Ops/sec |
Native map(shallow clone) | 5591752.0 Ops/sec |
Recursive deep clone | 180110.2 Ops/sec |
Map deep clone | 189333.9 Ops/sec |
Object.assign shallow clone | 3183322.5 Ops/sec |