basshelal / Waqti

Android app for a Kanban board time management system similar to Trello
MIT License
35 stars 7 forks source link

Optimize Database and Caches Build times #11

Closed basshelal closed 5 years ago

basshelal commented 5 years ago

Try to make building of Database and Caches faster by doing as much as possible asynchronously but with care as many Caches rely on each other and we don't want deadlock

basshelal commented 5 years ago

Improved by making initialization asynchronous, but in the process found a fatal bug in issue #40 . Speed improvements are very impressive: format is (boards, taskLists, tasks), the time is entire build including Activity and Fragment inflation, meaning there is some bar that cannot be exceeded (around 0.3 seconds I think)