[Digikam-devel] [Bug 124688] Digikam loading time is big because of : WARNING: Failed to find parent for Tag

Marcel Wiesweg marcel.wiesweg at gmx.de
Wed Apr 5 13:12:02 BST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=124688         




------- Additional Comments From marcel.wiesweg gmx de  2006-04-05 14:12 -------
Created an attachment (id=15475)
 --> (http://bugs.kde.org/attachment.cgi?id=15475&action=view)
some more debugging

There is 20s for time3 in the loop of scanTAlbums. That code is not directly
related to the database, it is creating the album objects from the info read
from the db. Here is another round of debugging (you can "svn revert" the
previous patches before). It creates a long list, cut it to some samples when
posting here. I have 91 tags (value is output by a debug statement). The values
I get are similar to

digikam: enter loop 0
digikam:  checked map 0
digikam:  found parent 1
digikam:  created album 1
digikam:  inserted album 171
digikam:  insert to map 171

for the entries 4,5,6,7 and then only values like

digikam: enter loop 0
digikam:  checked map 0
digikam:  found parent 0
digikam:  created album 0
digikam:  inserted album 1
digikam:  insert to map 1

for the rest.



More information about the Digikam-devel mailing list