Test name | Executions per second |
---|---|
Lodash cloneDeep | 121846.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 1938617.5 Ops/sec |
Native JSON parse | 178736.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3222743.5 Ops/sec |
Native map(shallow clone) | 5985580.5 Ops/sec |
Recursive deep clone | 181415.8 Ops/sec |
Map deep clone | 197616.3 Ops/sec |
Object.assign shallow clone | 3101417.5 Ops/sec |