[Bug 172269] New: Digikam hangs for around 20-60 seconds when starting

classic Classic list List threaded Threaded
26 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 172269] Digikam hangs for around 20-60 seconds when starting

Bugzilla from andi.clemens@gmx.net
http://bugs.kde.org/show_bug.cgi?id=172269





--- Comment #18 from Andi Clemens <andi clemens gmx net>  2008-10-10 16:36:18 ---
The problem with my collection might be that I have a lot of small folders. I
photograph a lot (daily) and so I have a folder for nearly every day. This is
why scanning on startup slows down digiKam, but again in 0.9.x it is much much
faster, so fast that I can leave "scan on startup" turned on.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 172269] Digikam hangs for around 20-60 seconds when starting

Marcel Wiesweg
In reply to this post by Bugzilla from aironmail@gmail.com
http://bugs.kde.org/show_bug.cgi?id=172269





--- Comment #19 from Marcel Wiesweg <marcel wiesweg gmx de>  2008-10-10 17:59:40 ---
Update: I can confirm that this is a problem with entryInfoList; removing the
file name filter makes it faster by a factor of 20. It seems that the name
filter that we use - containing a quite large number of file suffixes - is
applied with a QRegExp for each suffix, for each file. We can do that faster
without prefiltering.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 172269] Digikam hangs for around 20-60 seconds when starting

Marcel Wiesweg
In reply to this post by Bugzilla from aironmail@gmail.com
http://bugs.kde.org/show_bug.cgi?id=172269


Marcel Wiesweg marcel wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #20 from Marcel Wiesweg <marcel wiesweg gmx de>  2008-10-11 17:17:35 ---
As confirmed by Andi, the problem is fixed by the commit listed below.

Author: mwiesweg <mwiesweg@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Date:   Sat Oct 11 13:55:40 2008 +0000

    Do not use the file name filter that comes with QDir.entryInfoList, which
    is very slow for larger file counts and filtered suffixes.
    Just get all files and use plain simple suffix filtering from a QSet.

    Speeds up complete collection scan by approximately factor 20.

    git-svn-id:
https://svn.kde.org/home/kde/trunk/extragear/graphics/digikam@869972
283d02a7-25f6-0310-bc7c-ecb5cbfe19da


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 172269] Digikam hangs for around 20-60 seconds when starting

Bugzilla from aironmail@gmail.com
In reply to this post by Bugzilla from aironmail@gmail.com
http://bugs.kde.org/show_bug.cgi?id=172269





--- Comment #21 from Antonio E. <aironmail gmail com>  2008-10-12 03:25:58 ---
I confirm that behaviour now it's very good, I've just tested the latest trunk.
Wow, what a change! It has improved dramatically the starting time. Well seen
Marcel.

Thank you :).


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 172269] Digikam hangs for around 20-60 seconds when starting

Gilles Caulier-4
In reply to this post by Bugzilla from aironmail@gmail.com
https://bugs.kde.org/show_bug.cgi?id=172269


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.10.0-beta4                |0.10.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 172269] Digikam hangs for around 20-60 seconds when starting

bugzilla_noreply
In reply to this post by Bugzilla from aironmail@gmail.com
https://bugs.kde.org/show_bug.cgi?id=172269

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Database                    |Database-Scan

--
You are receiving this mail because:
You are the assignee for the bug.
12