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 510729 - needs performance optimization
needs performance optimization
Status: RESOLVED DUPLICATE of bug 500772
Product: eog
Classification: Core
Component: image viewer
2.20.x
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-20 04:06 UTC by Jean-François Fortin Tam
Modified: 2008-01-20 05:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the last benchmark I used (test case) (594.07 KB, image/jpeg)
2008-01-20 04:06 UTC, Jean-François Fortin Tam
Details

Description Jean-François Fortin Tam 2008-01-20 04:06:03 UTC
do you have an idea why opening just a plain ~640x480 photo takes 5+ seconds? that is awfully slow, and it uses a crazy amount of CPU, on top of that. The problem gets much worse at higher resolutions. 

This happens on all of my computers which are fairly powerful. This one has a 7200rpm disk, 1gb of ram, a P4 2.4ghz cpu, a geforce 5200 gpu.

Opening individual photos should not require a core duo, as far as I know?

I just did an unscientific benchmark using my wristwatch's chronometer. I opened a 1600x1200 jpeg image using eog (this image had not been opened in months), and it took 13 seconds (during which the cpu is hogged).

Reopening this same image after closing it = 5 seconds

Opening it with gliv* takes only 1.5 seconds. I also did another test, launching another new image (1920x1200 jpeg) with gliv first (to avoid warm start effects), it still loaded in 1.5 seconds.


But then, an interesting thing happens: if I launch a 1600x1200 image with eog *from the terminal*, it loads in 2 seconds, whereas it takes 2-3 times more time if launched by clicking on it from nautilus:

eog terminal 2 seconds 40
eog normal 6 seconds 60
gliv terminal 1 seconds 36

Those numbers are reproducible here, no matter what order I do this, I can obtain a 4 seconds difference by launching from the terminal; and gliv beats eog in all scenarios.

What is going on?
Comment 1 Jean-François Fortin Tam 2008-01-20 04:06:47 UTC
Created attachment 103235 [details]
the last benchmark I used (test case)
Comment 2 Jean-François Fortin Tam 2008-01-20 04:13:11 UTC
interestingly, I just installed thunar besides nautilus. Launching the image from a thunar window takes 3 seconds 75. It somewhat looks like nautilus could be the culprit, but how? Isn't it just launching a command such as "eog foo.jpg"? How can there be a performance difference?
Comment 3 Claudio Saavedra 2008-01-20 05:47:17 UTC
Hi Jeff, 

Thanks for your interest in making EOG better. There's already a bug report about these issues, so I'll answer you there. 

--

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 500772 ***