Re: [Geeqie-devel] Performace Problem

2009-04-11 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi Vladimir, Am Sa den 11. Apr 2009 um 19:34 schrieb Vladimir Nadvornik: > > That would be cheaper. That just needs one read of the directory once > > for each file (without other optimisation) instead of 216 reads followed > > by 216 stats of mostl

Re: [Geeqie-devel] Performace Problem

2009-04-11 Thread Vladimir Nadvornik
On pá 10. dubna 2009, Klaus Ethgen wrote: > Hi, > > Am Fr den 10. Apr 2009 um 15:55 schrieb Vladimir Nadvornik: > > > I encountered a other situation where it comes into trouble. When you > > > open a collection (that can be from many files from many directories) > > > then the stat probe is still

Re: [Geeqie-devel] Performace Problem

2009-04-10 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Am Fr den 10. Apr 2009 um 15:55 schrieb Vladimir Nadvornik: > > I encountered a other situation where it comes into trouble. When you > > open a collection (that can be from many files from many directories) > > then the stat probe is still done

Re: [Geeqie-devel] Performace Problem

2009-04-10 Thread Vladimir Nadvornik
On pá 10. dubna 2009, Klaus Ethgen wrote: > Hi Vladimir, > > Am Mo den 6. Apr 2009 um 20:19 schrieb Vladimir Nadvornik: > > Done in rev. 1614. Please test. > > Works well. But... > > > (The stat on all possible sidecars is still used in situations when the > > file name does not come from readdir,

Re: [Geeqie-devel] Performace Problem

2009-04-10 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi Vladimir, Am Mo den 6. Apr 2009 um 20:19 schrieb Vladimir Nadvornik: > Done in rev. 1614. Please test. Works well. But... > (The stat on all possible sidecars is still used in situations when the file > name does not come from readdir, this i

Re: [Geeqie-devel] Performace Problem

2009-04-06 Thread Vladimir Nadvornik
On po 6. dubna 2009, Vladimir Nadvornik wrote: > On po 6. dubna 2009, Klaus Ethgen wrote: > > Hi Vladimir, > > > > Am Mo den 6. Apr 2009 um 9:46 schrieb Vladimir Nadvornik: > > > > The stat is done 216 times this way for each file in a directory. > > > > > > Hm, the number of sidecar extensions i

Re: [Geeqie-devel] Performace Problem

2009-04-06 Thread Vladimir Nadvornik
On po 6. dubna 2009, Klaus Ethgen wrote: > Hi Vladimir, > > Am Mo den 6. Apr 2009 um 9:46 schrieb Vladimir Nadvornik: > > > The stat is done 216 times this way for each file in a directory. > > > > Hm, the number of sidecar extensions is much higher than last time I > > looked into it. > > I will

Re: [Geeqie-devel] Performace Problem

2009-04-06 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi Vladimir, Am Mo den 6. Apr 2009 um 9:46 schrieb Vladimir Nadvornik: > > The stat is done 216 times this way for each file in a directory. > > > > Hm, the number of sidecar extensions is much higher than last time I looked > into it. > I will

Re: [Geeqie-devel] Performace Problem

2009-04-06 Thread Vladimir Nadvornik
On ne 5. dubna 2009, Klaus Ethgen wrote: > Hi, > > so, tracked down: > > The real stat is done in stat_utf8_case_insensitive_ext() in file > ui_fileops.c which is called from file_data_check_sidecars() in file > filedata.c. > > The stat is done 216 times this way for each file in a directory. > Hm

Re: [Geeqie-devel] Performace Problem

2009-04-05 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, so, tracked down: The real stat is done in stat_utf8_case_insensitive_ext() in file ui_fileops.c which is called from file_data_check_sidecars() in file filedata.c. The stat is done 216 times this way for each file in a directory. Gruß Kla

Re: [Geeqie-devel] Performace Problem

2009-04-05 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Ok, lets get a bit more specific, it is the sidecar feature. If I clean the sidecar setting then geeqie is faster than gqview. Having it with default settings ends in this hundred stat calls per every single file. Now I just have to find where the h