Test name | Executions per second |
---|---|
Lodash cloneDeep | 205185.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 3009395.5 Ops/sec |
Native JSON parse | 221661.0 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3244854.2 Ops/sec |
Native map(shallow clone) | 6322279.5 Ops/sec |
Recursive deep clone | 192949.1 Ops/sec |
Map deep clone | 210802.4 Ops/sec |
Object.assign shallow clone | 3405289.0 Ops/sec |