Discussion:
[KPhotoAlbum] Another performance patch
Robert Krawitz
2018-05-04 22:01:53 UTC
Permalink
This adds some common sidecar file types (.xmp, .pp3, and .pto) to the
exclusion list for file searching.

I had been wondering why file searching had slowed down a lot for me
lately, with a lot of disk activity. strace made it clear. I store
sidecar files alongside the original image files, and over time,
something over 20,000 sidecar files had accumulated.
--
Robert Krawitz <***@alum.mit.edu>

*** MIT Engineers A Proud Tradition http://mitathletics.com ***
Member of the League for Programming Freedom -- http://ProgFree.org
Project lead for Gutenprint -- http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
Johannes Zarl-Zierl
2018-05-04 22:24:21 UTC
Permalink
Hi Robert,

Thanks for the patch!
I've applied it to git master...

Cheers,
Johannes
Post by Robert Krawitz
This adds some common sidecar file types (.xmp, .pp3, and .pto) to the
exclusion list for file searching.
I had been wondering why file searching had slowed down a lot for me
lately, with a lot of disk activity. strace made it clear. I store
sidecar files alongside the original image files, and over time,
something over 20,000 sidecar files had accumulated.
Robert Krawitz
2018-05-04 22:48:50 UTC
Permalink
Post by Johannes Zarl-Zierl
Hi Robert,
Thanks for the patch!
I've applied it to git master...
Do you stil have my other two performance patches related to loading
new images or do you need them again? One is generic and one is
specific to loading new images that need to be added to existing
stacks. They touch much the same code, so it might be worth my while
merging them into one.
Post by Johannes Zarl-Zierl
Post by Robert Krawitz
This adds some common sidecar file types (.xmp, .pp3, and .pto) to the
exclusion list for file searching.
I had been wondering why file searching had slowed down a lot for me
lately, with a lot of disk activity. strace made it clear. I store
sidecar files alongside the original image files, and over time,
something over 20,000 sidecar files had accumulated.
--
Robert Krawitz <***@alum.mit.edu>

*** MIT Engineers A Proud Tradition http://mitathletics.com ***
Member of the League for Programming Freedom -- http://ProgFree.org
Project lead for Gutenprint -- http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
Loading...