[Performance] FeedsProxyModel::FeedsProxyModel Takes 40%+ time of Loading
Version: 22.02 and master
Environment:
ZFS + HDD for kasts metadata
Description:
Everytime I switch to subscription tab, UI thread is blocked for seconds. A perf
flamegraph shows that 40% of the time being blocked/unresponsive are due to SQLite accessing in FeedsProxyModel::FeedsProxyModel
.
Proposed solution:
Cache the FeedsModel
in memory or offload DataManager::loadFeed
to another thread.
Attachment:
Flamegraph of time usage