After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 136238 - performance problems with recent-files modifications
performance problems with recent-files modifications
Status: RESOLVED FIXED
Product: GGV
Classification: Deprecated
Component: general
2.5.x
Other Linux
: Normal major
: ---
Assigned To: Jaka Mocnik
Jaka Mocnik
Depends on:
Blocks:
 
 
Reported: 2004-03-05 01:41 UTC by James Willcox
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description James Willcox 2004-03-05 01:41:21 UTC
ggv is using a modified egg-recent-model.c which calls gnome_vfs_uri_exists
on each item.  This is causing some pretty serious performance problems
(like ggv taking 10 seconds to start).  I recommend using the stock
egg-recent-model from libegg CVS.

Another option, would be to change the patch to only stat the files in
the 'filtered' list, which would be pretty small considering ggv filters
out everything except postscript files.  However, I still think this will
be bad for performance since you have no idea how long it will to test
for the existence of random uris.
Comment 1 Jaka Mocnik 2004-03-05 14:57:24 UTC
agreed: I never noticed that I test each and every file - thanks for
spotting this... I have changed the code to test only the filtered
URIs (in egg_recent_model_filter()).