Test name | Executions per second |
---|---|
Lodash cloneDeep | 144345.6 Ops/sec |
Native map deep slice(turns objects into arrays) | 10512319.0 Ops/sec |
Native JSON parse | 262580.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 10442977.0 Ops/sec |
Native map(shallow clone) | 24531708.0 Ops/sec |
Recursive deep clone | 745530.0 Ops/sec |
Map deep clone | 742870.5 Ops/sec |
Object.assign shallow clone | 16665999.0 Ops/sec |