Test name | Executions per second |
---|---|
Lodash cloneDeep | 274667.8 Ops/sec |
Native map deep slice(turns objects into arrays) | 3886088.5 Ops/sec |
Native JSON parse | 304590.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3842543.5 Ops/sec |
Native map(shallow clone) | 7479935.5 Ops/sec |
Recursive deep clone | 240949.7 Ops/sec |
Map deep clone | 266145.2 Ops/sec |
Object.assign shallow clone | 4024247.5 Ops/sec |