Red Hat Bugzilla – Bug 117170
ggv is too slow
Last modified: 2013-04-02 00:19:04 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
Description of problem:
FC1 no longer ships with a sane PostScript viewer. With the upgrade
from RH9 to FC1, gv disappeared, to be replaced with ggv. While I
agree with, and fully support the goal of having a consistent user
interface across apps, it shouldn't be at the expense of usability.
Where gv used to launch in under a second, ggv takes over 10 seconds
from cold, and even from cache takes 5s. That's just not acceptable
performance, and severely limits its usefulness. I don't know if this
is just a GTK-2 thing -- previous versions of ggv (e.g., 1.0.1 from
RH7.2) launched much quicker. Other GTK-2 apps are a bit sluggish
perhaps, but not to the same extent as ggv. Perhaps the following
comparison may shed some light on the problem:
lazarus:~% cat /etc/redhat-release
Red Hat Linux release 7.2 (Enigma)
lazarus:~% rpm -q ggv
lazarus:~% ldd /usr/bin/ggv | wc -l
leto:~% cat /etc/redhat-release
Fedora Core release 1 (Yarrow)
leto:~% rpm -q ggv
leto:~% ldd /usr/bin/ggv | wc -l
Whatever the reason, though, I don't particularly care. Please either
fix it, or revert to using gv until ggv can be brought up to speed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Launch ggv
2. Wait... Go grab a drink
3. Wait some more. You get the idea...
Interesting, my laptop is very slow - Celeron 700MHz with 192MB RAM
and ggv is starting under 2 seconds and under 1 second from the cache.
[My system is FC1 without updates, same ggv as yours]
I have no obvious speed problems w/ GGV. Is anything else slow on
your system? Regardless of which, I'm not going to remove ggv for gv.
:-) No, I wasn't expecting you to remove ggv. But I would appreciate
looking into what's causing it to be *so* much slower than plain gv.
Probably not the sole cause of the problem, but does it really need
to be linked against libesd or libaudiofile, for example?
I may not have the fastest machine in the world (a PIII/550), but
other apps are generally OK. It's just ggv that's bordering on
Yes, it does need to link against those for a number of reasons.
I don't know why it's slow. it's not particularly slow for me. Are
you loading it with a file?
Okay - I think I've found the problem. Looks like GGV is being too
agressive w/ its recently-used files. If you move ~/.recently-used
out of the way, does it start much faster?
Yep, that certainly seems to help.
Cool. Submitted a patch upstream. We should get this fixed by FC2.