Skip to content
Commit ae31c1a1 authored by Pierre Ducroquet's avatar Pierre Ducroquet 🛩
Browse files

Several performance optimisations for Akregator

Summary:
1) Fetch title, pubdate, hash and status in a single storage call

Even with MK4, the performance gain is sensible.
For medium sized archives (~25k articles), it's feeling faster.
For huge archives (>100k articles), it is human measurably faster.

2) Reuse the FeedStorage instead of fetching it for each article

For huge archives, this helps performance a bit

3) Drop useless call to isNull in model

All calls are safe even when the article is null.
And their results will be similar to QVariant().
This call is thus useless, and one of the biggest 'perf' offender

Reviewers: mlaurent, knauss

Reviewed By: mlaurent

Subscribers: dvratil, #kde_pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D12480
parent 7668f382
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment