[Digikam-devel] [Bug 229888] New: Speed up "Scan for new items at startup"

Vlado Plaga rechner at vlado-do.de
Sun Mar 7 21:31:22 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=229888

           Summary: Speed up "Scan for new items at startup"
           Product: digikam
           Version: 1.1.0
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: rechner at vlado-do.de


Version:           1.1.0 (using KDE 4.3.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Since I sometimes add pictures to the digiKam directory tree without a running
digiKam I need the option "Scan for new items at startup (makes startup
slower.)" activated. Indeed this makes startup a lot slower than it normally
is. I don't know what digiKam is doing internally, but I'm sure just checking
for files newer than the last digiKam start could be done much faster.

Rough estimates:
- digiKam "Scanning images in individual albums" takes about 20 seconds on my
computer (with about 13,000 pictures).
- "find . -anewer ~/.kde/share/digikam/thumbnails-digikam.db" for the digiKam
root directory takes about 4 seconds.

This "-anewer" even finds files that have an older modification date, if they
were moved from some other place. Anyway the directory modification date also
changes in such cases, possibly giving digiKam a hint where to look closer for
new pictures.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list