[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2019-10-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #25 from caulier.gil...@gmail.com ---
Thanks for the feedback

Gilles Caulier

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2019-10-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #24 from digikam...@iinet.net.au ---
Hello all, I am the original poster for this bug. I would like to confirm that
I agree this is now fixed. Digikam 6.3 on MacOS 10.13.6 starts rapidly and runs
at what looks like the same speed as Ubuntu. Thanks to all those who
contributed to this. It is very useful to me that this is cross platform.

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2019-06-20 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=398921

Maik Qualmann  changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Version Fixed In||6.2.0
 Status|REPORTED|RESOLVED

--- Comment #23 from Maik Qualmann  ---
Ok, thanks for the feedback. I close the bug now, if necessary open again.

Maik

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2019-06-20 Thread Christoph Huckle
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #22 from Christoph Huckle  ---
Hey Gents,

not sure when it was fixed, but with the latest weekly build of 6.2 it's good
now.
Digikam starts up fairly fast on the Mac with MySQL as Database and wifi as
network.
Awesome. 
Thank you!

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2019-05-23 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #21 from Maik Qualmann  ---
Git commit 8a2cbc6917d48bbc5d0b02b78d7bcda4176688cb by Maik Qualmann.
Committed on 23/05/2019 at 19:10.
Pushed by mqualmann into branch 'master'.

QFileSystemWatcher can now be disabled.
The setting is on the collection page.
The default is off.
Related: bug 407691, bug 406224, bug 403073

M  +21   -13   core/libs/album/engine/albumwatch.cpp
M  +2-0core/libs/settings/applicationsettings.cpp
M  +3-0core/libs/settings/applicationsettings.h
M  +10   -0core/libs/settings/applicationsettings_albums.cpp
M  +3-0core/libs/settings/applicationsettings_p.cpp
M  +3-0core/libs/settings/applicationsettings_p.h
M  +16   -14   core/utilities/setup/collections/setupcollections.cpp

https://invent.kde.org/kde/digikam/commit/8a2cbc6917d48bbc5d0b02b78d7bcda4176688cb

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2019-04-22 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #20 from Maik Qualmann  ---
Git commit 1f8edbda8bff2a3e201b8870a686f0066e20d590 by Maik Qualmann.
Committed on 22/04/2019 at 18:35.
Pushed by mqualmann into branch 'master'.

use QReadWriteLock for the CollectionManager
Loading a large item view is now about 4x
faster here with MySQL
Related: bug 397901, bug 391115, bug 391840

M  +12   -13   core/libs/database/collection/collectionmanager.cpp
M  +1-1core/libs/database/collection/collectionmanager.h
M  +11   -9core/libs/database/collection/collectionmanager_album.cpp
M  +118  -107  core/libs/database/collection/collectionmanager_location.cpp
M  +1-1core/libs/database/collection/collectionmanager_p.cpp
M  +2-0core/libs/database/collection/collectionmanager_p.h
M  +1-1core/libs/database/coredb/coredbaccess.cpp

https://invent.kde.org/kde/digikam/commit/1f8edbda8bff2a3e201b8870a686f0066e20d590

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2019-04-09 Thread Markus Hug
https://bugs.kde.org/show_bug.cgi?id=398921

Markus Hug  changed:

   What|Removed |Added

Version|5.9.0   |unspecified
 CC||kdeorgm...@gmx.ch

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2019-04-08 Thread Christoph Huckle
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #19 from Christoph Huckle  ---
Hi,

I disabled the color management in the digikamrc file, didn't help.
Starting from the terminal also didn't show me any errors.

I'm using digikam for the moment with a local database, this way my wife can at
least browse the pictures.

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2019-04-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=398921

caulier.gil...@gmail.com changed:

   What|Removed |Added

  Component|Bundle-MacOS|ColorManagement

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2019-04-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #18 from caulier.gil...@gmail.com ---
Hi,

- Disable color management to solve quickly your problem.

- Run digiKam from a terminal. You will see a lots of debug traces. Enable
color management and look which error is generated on the console and try to
identify which color profile is problematic.

Executable under MAcoOS is located here : 

/opt/digikam/Applications/KF5/digikam.app/Contents/MacOS/digikam

Gilles Caulier

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2019-04-04 Thread Christoph Huckle
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #17 from Christoph Huckle  ---
It got stuck when loading the ICC profiles.
Is this something I can fix?

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2019-03-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #16 from caulier.gil...@gmail.com ---
What's about he digiKam 6.1.0 pre release package for MacOSX available here :

https://files.kde.org/digikam/

This improve time loading at startup ?

Thanks in advance

Gilles Caulier

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-12-31 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #15 from caulier.gil...@gmail.com ---
Can you reproduce the dysfunction using the last digiKam 6.0.0-beta3 just
released ?

https://www.digikam.org/news/2018-12-30-6.0.0-beta3_release_announcement/

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-11-11 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #14 from caulier.gil...@gmail.com ---
Not yet tested.

In fact, i'm actually fix a lots of dysfunctions reproducible with unit test
around Exiv2, which do not support at all multithreding. This libray used by
digiKam must handle all photo metadata, and API is not thread safe and digiKam
threads crashes while database is populated or album are scanned.

So these dyfunctions will introduce side effect, time latency, and database
holes which will slow down digiKam. So, i want to complete this task before to
test.

Gilles Caulier

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-11-11 Thread MiK
https://bugs.kde.org/show_bug.cgi?id=398921

Michal Kec (MiK)  changed:

   What|Removed |Added

 CC||k...@kecnet.cz

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-10-15 Thread Christoph Huckle
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #13 from Christoph Huckle  ---
Any news on this? Did you test on your machine Gilles?
Any proposal what I shoudl test?

Thanks
Christoph

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-10-09 Thread Christoph Huckle
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #12 from Christoph Huckle  ---
I realized I might have put you on a wrong path there, as on the VirtualMachine
I have, the startup also pauses quite a bit. The VM is running Kubuntu.

What else could have an impact? Is something wrong with my DB?

Regards,
Christoph

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-10-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #11 from caulier.gil...@gmail.com ---
I never test with 2300 album under OSX. I will check this evening.

Gilles

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-10-08 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #10 from Maik Qualmann  ---
The 2300 albums are no problem for digiKam. Gilles, can you confirm that
digiKam is slower under OSX than under Linux?

Maik

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-10-07 Thread Christoph Huckle
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #9 from Christoph Huckle  ---
Thanks Maik for the explanation, I have around 2300 folders in the Albums.

Why are the loading times so different depending on the OS setup?

Regards,
Christoph

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-10-07 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #8 from Maik Qualmann  ---
Git commit f27ab9c1051bd0a0bba6e79bc77899c74a7e6bf8 by Maik Qualmann.
Committed on 07/10/2018 at 13:47.
Pushed by mqualmann into branch 'master'.

add a global cache for grouped images
When we load the images into the Icon view,
we ask each time, whether there are grouped
images, with 3 images in the view are that
also 3 SQL query.
With this patch, the time to load a view with
many images is faster with MySQL 3x and with SQLite 2x.
Related: bug 391840, bug 396086, bug 397901

M  +24   -0core/libs/database/coredb/coredb.cpp
M  +5-0core/libs/database/coredb/coredb.h
M  +1-10   core/libs/database/item/imageinfo.cpp
M  +19   -2core/libs/database/item/imageinfocache.cpp
M  +7-0core/libs/database/item/imageinfocache.h
M  +0-3core/libs/database/item/imageinfodata.h

https://commits.kde.org/digikam/f27ab9c1051bd0a0bba6e79bc77899c74a7e6bf8

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-10-05 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #7 from Maik Qualmann  ---
If the splash screen says "loading the database". is not searching for new
items, but all albums are loaded. How many albums (directories) does your
collection contain?

Maik

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-10-04 Thread Christoph Huckle
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #6 from Christoph Huckle  ---
Unfortunately it seems that this didn't fix my problem.
Checked yesterday on my Kubuntu VM. After 30min of "loading the database" I
stopped it.

Will test on the Mac asap.

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-10-01 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #5 from Maik Qualmann  ---
Git commit 5489bf7016bb7e4d80512a08ebc5c907023b80d8 by Maik Qualmann.
Committed on 01/10/2018 at 20:02.
Pushed by mqualmann into branch 'master'.

Collection scanner 18x faster

M  +14   -15   core/libs/database/collection/collectionscanner.cpp

https://commits.kde.org/digikam/5489bf7016bb7e4d80512a08ebc5c907023b80d8

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-10-01 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=398921

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #4 from Maik Qualmann  ---
With this commit, the scan here with a local database is about 12x faster (50
seconds => 4 seconds). Over network, the effect can still be greater. Please
report.

Maik

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-10-01 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #3 from Maik Qualmann  ---
Git commit e4f7b919623770586acccf027f88c8f36784eb9e by Maik Qualmann.
Committed on 01/10/2018 at 19:14.
Pushed by mqualmann into branch 'master'.

faster scan for new items with MySQL

M  +14   -39   core/libs/database/collection/collectionscanner.cpp
M  +0-3core/libs/database/collection/collectionscanner.h

https://commits.kde.org/digikam/e4f7b919623770586acccf027f88c8f36784eb9e

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-10-01 Thread Christoph Huckle
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #2 from Christoph Huckle  ---
My collection is not reaching the 100.000 but around 60.000, nevertheless I
have the same issue, or even worse actually.

I tried the current builds on the weekend, unfortunately still the same issues. 

My native Kubuntu needs 2-3 min for the DB scan (Surface Pro 3, Gigabit
Ethernet)
My Ubuntu VM, roughly the same (Lenovo P51, AC Wifi)
My Wife's Mac needs hours... (MacBook 2015, AC Wifi)

Files and DB are on a Dell Poweredge T30.

I'd be happy to supply any logs to help. Or try DB tests (empty DB e.g.)

Best regards
Christoph

See also here:
https://mail.kde.org/pipermail/digikam-users/2018-August/027105.html

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-09-28 Thread Christoph Huckle
https://bugs.kde.org/show_bug.cgi?id=398921

Christoph Huckle  changed:

   What|Removed |Added

 CC||chri...@gmail.com

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-09-22 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=398921

--- Comment #1 from caulier.gil...@gmail.com ---
Definitively, 6.0.0 willbe better on MAcOS. I fixed i a lots of problem
relevant of Mysql support (internal thread crash and mariadb integration in the
bundle).

In other word, under MacOS, forget Mysql support with 5.9.0. 

WARNING: using 6.0.0, you must backup you database, as the schema changes.

Also, yo cannot mix 5.9.0 under Linux and 6.0.0 under MAcOS.

Using 6.0.0 want mean to use the current weekly bundle build, not the
6.0.0-beta1 official. My fixes have be done later this release.

To make a try, not in production, i recommend to create a test Mysql database.
Init and populate the database under Linux, using 6.0.0 AppImage. n a second
time, run the 6.0.0 PKG bundle under MAcOS and branch the settings on the new
test database. Compare the start up results and report here...

Thanks in advance

Gilles Caulier

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

[digikam] [Bug 398921] digikam 5.9.0 slow to start on Mac but rapid on Ubuntu with same database

2018-09-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=398921

caulier.gil...@gmail.com changed:

   What|Removed |Added

  Component|general |Bundle-MacOS
 CC||caulier.gil...@gmail.com

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