Test name | Executions per second |
---|---|
Lodash cloneDeep | 137654.9 Ops/sec |
Native map deep slice(turns objects into arrays) | 1773907.8 Ops/sec |
Native JSON parse | 141149.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1847456.8 Ops/sec |
Native map(shallow clone) | 3341189.8 Ops/sec |
Recursive deep clone | 123775.2 Ops/sec |
Map deep clone | 135199.2 Ops/sec |
Object.assign shallow clone | 1980956.1 Ops/sec |