The amount of time depends on several factors:
- Internet connection speed
- Encryption yes/no
- Performance of the device
- Throttling from cloud provider
- Performance of the cloud provider / sync server
- ...
My Android phone needed 5-6 hours for 36221 items ( round a bout 4.5 GB) the last time I hade to reinstall Joplin.