Test name | Executions per second |
---|---|
Lodash cloneDeep | 409095.4 Ops/sec |
Native map deep slice(turns objects into arrays) | 5543049.5 Ops/sec |
Native JSON parse | 408599.6 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 5579846.5 Ops/sec |
Native map(shallow clone) | 10929751.0 Ops/sec |
Recursive deep clone | 314655.1 Ops/sec |
Map deep clone | 340389.2 Ops/sec |
Object.assign shallow clone | 5575820.5 Ops/sec |