Bug 117170 - ggv is too slow
Summary: ggv is too slow
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: ggv
Version: 1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-01 03:39 UTC by Tethys
Modified: 2013-04-02 04:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-03-05 01:45:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tethys 2004-03-01 03:39:43 UTC
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
   ggv-1.0.1-4
   lazarus:~% ldd /usr/bin/ggv | wc -l
        22


   leto:~% cat /etc/redhat-release 
   Fedora Core release 1 (Yarrow)
   leto:~% rpm -q ggv
   ggv-2.4.0.1-1
   leto:~% ldd /usr/bin/ggv | wc -l
        53

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):
ggv-2.4.0.1-1

How reproducible:
Always

Steps to Reproduce:
1. Launch ggv
2. Wait... Go grab a drink
3. Wait some more. You get the idea...
    

Additional info:

Comment 1 Robert Vojta 2004-03-02 13:12:22 UTC
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]



Comment 2 Jonathan Blandford 2004-03-03 16:43:51 UTC
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.  


Comment 3 Tethys 2004-03-03 22:06:58 UTC
:-) 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
unusably slow.

Comment 4 Jonathan Blandford 2004-03-03 22:16:10 UTC
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?

Comment 5 Jonathan Blandford 2004-03-05 01:10:32 UTC
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?

Comment 6 Tethys 2004-03-05 01:19:40 UTC
Yep, that certainly seems to help.

Comment 7 Jonathan Blandford 2004-03-05 01:33:30 UTC
Cool.  Submitted a patch upstream.  We should get this fixed by FC2.

Comment 8 Jonathan Blandford 2004-03-05 01:45:34 UTC
http://bugzilla.gnome.org/show_bug.cgi?id=136238


Note You need to log in before you can comment on or make changes to this bug.