Several performance optimisations for Akregator

Authored by pinaraf on Apr 24 2018, 8:32 PM.

Description

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.

  1. Reuse the FeedStorage instead of fetching it for each article

For huge archives, this helps performance a bit

  1. 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

Details

Committed
pinarafMay 2 2018, 4:52 PM
Reviewer
mlaurent
Differential Revision
D12480: Several performance optimisations for Akregator
Parents
R201:7668f382dc3a: Merge branch 'Applications/18.04'
Branches
Unknown
Tags
Unknown