1 min readAug 30, 2019
You load 100 MB over the network onto a user’s device? Oof.
I’d be interested to hear if requestIdleCallback
instead of setTimeout
improves thing. It would allow a bit of breathing room between your 1 MB chunks, rather that jumping onto the next tick as soon as it’s finished one batch.