Test name | Executions per second |
---|---|
Lodash cloneDeep | 148364.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 1738789.9 Ops/sec |
Native JSON parse | 135379.6 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1798866.9 Ops/sec |
Native map(shallow clone) | 3115850.5 Ops/sec |
Recursive deep clone | 113497.0 Ops/sec |
Map deep clone | 120665.1 Ops/sec |
Object.assign shallow clone | 1851210.0 Ops/sec |