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

            Bug ID: 384079
           Summary: High CPU usage on Import when color management is
                    enabled
           Product: digikam
           Version: 5.5.0
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Import-MainView
          Assignee: digikam-bugs-n...@kde.org
          Reporter: fred...@witherden.org
  Target Milestone: ---

When color management is enabled the import tool, when attempting to import NEF
raw files with embedded JPEGs in the AdobeRGB color space from an SD card,
becomes virtually unusable.  Specifically, a single core is pinned at 100%
whenever the window has focus and there is a multi-second input lag.

Profiling with "perf" indicates that most of the wall clock time is being spent
in cmsReverseToneCurveEx from liblcms2.so, which again indicates that this is
related to colour management.

Once the images are imported there is no issue with CPU usage or input lag; it
is only a problem in the Import dialog.  My guess is that digiKam is doing
color space conversion on the fly without any kind of caching, hence the high
CPU usage.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to