[aKregator-devel] Akregator 3.5.6 startup performance improvement and cleaner UI patches
Brought to you by:
lippel
From: Robert K. <rob...@gm...> - 2007-02-09 06:21:37
|
Hello, I noticed recently that Kontact startup was taking a long time, even on a warm startup. I did some profiling using callgrind and found that aKregator was the culprit, since it creates an Article instance for every article in its archive on startup. I had about ~ 7000 articles in the archive. The Article constructor accesses the archive backend to get some basic information ( publication date, status and hash ). These accesses seem to be expensive ( for 7000*3 at least ). Attached is a patch against the KDE 3.5 kdepim branch of akregator which loads this information on-demand instead of in the Article constructor. On my system it reduced the startup time for standalone Akregator from 2.5s to < 0.5s. I also wanted to make the UI look cleaner by removing the frame around the HTML viewer and the frame around the article list itself. A second patch is attached for this. I am not subscribed to this list to please CC me in to any replies. Regards, Robert Knight. |