[KPhotoAlbum] Annotation performance improvments

Robert Krawitz rlk at alum.mit.edu
Sat Jan 18 16:01:19 GMT 2020


On Sat, 18 Jan 2020 16:42:13 +0100, Andreas Schleth wrote:
> Hi Robert,
>
> as suggested, I did a test with my setup:
>
> thumbnail view on all images ... select 2 years, tag 8717 (of ~40k)
> images w. one new tag ... home ... untag the same set of images ... home
> ... exit (without saving)
>
> Version v5.5-150-g323e2b29 (old)
> real    5m29,668s
> user    4m43,596s
> sys     0m1,196s
>
> Version v5.5-157-ge7a816cb (new)
> real    4m48,113s
> user    4m25,635s
> sys     0m0,976s
>
> There is a short delay before the annotation dialog pops up
> After tagging and hitting "done", KPA enters a phase of 100% CPU usage
> and there is a long delay until the dialog window closes.
> Afterwards, KPA hangs for about the same amount of time with 100% CPU
> until I can close the thumbnail view.
> The same delays happen in the untagging process.

Both old and new predate my latest round of changes.  Please try the
current master.
-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton



More information about the Kphotoalbum mailing list