Test name | Executions per second |
---|---|
Lodash cloneDeep | 216240.7 Ops/sec |
Native map deep slice(turns objects into arrays) | 3548332.2 Ops/sec |
Native JSON parse | 273808.2 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 3516320.8 Ops/sec |
Native map(shallow clone) | 7048848.0 Ops/sec |
Recursive deep clone | 196658.6 Ops/sec |
Map deep clone | 211666.5 Ops/sec |
Object.assign shallow clone | 3688910.0 Ops/sec |