Test name | Executions per second |
---|---|
Lodash cloneDeep | 204428.5 Ops/sec |
Native map deep slice(turns objects into arrays) | 2186963.0 Ops/sec |
Native JSON parse | 69814.9 Ops/sec |
Native map deep slice at 0(turns objects into arrays) | 1228199.1 Ops/sec |
Native map(shallow clone) | 2553246.2 Ops/sec |
Recursive deep clone | 73213.7 Ops/sec |
Map deep clone | 88806.4 Ops/sec |
Object.assign shallow clone | 1298230.4 Ops/sec |