5 ms·
On Android most well-architected applications will persist almost everything to disk before showing it to the user. Network directly to UI is too unstable. It
by habosa 11y ago
On Android most well-architected applications will persist almost everything to disk before showing it to the user. Network directly to UI is too unstable.
It's not about intensive reads/writes (dozens of MB) it's about making each individual read or write very fast so you don't drop frames. On Android you have 16ms to draw each frame (60fps). If you have a DB request take 5ms then all of a sudden you're very likely to have jank in your app.
- lern_too_spel 11y agoDon't do I/O on the UI thread. The time it takes to do a write should not affect jank.
- charleslmunger 11y agoYeah, a well architected application doesn't touch disk on the UI thread.