Bug#463112: New info
Eugen Dedu
Eugen.Dedu at pu-pm.univ-fcomte.fr
Mon Mar 31 07:49:31 UTC 2008
Hi,
I have new info about this bug.
After compiling with -pg I saw that gprof prints:
% cumulative self self total
time seconds seconds calls Ts/call Ts/call name
0.00 0.00 0.00 70934 0.00 0.00 eog_image_get_type
0.00 0.00 0.00 58248 0.00 0.00
eog_image_get_collate_key
0.00 0.00 0.00 4867 0.00 0.00
eog_list_store_get_type
The first two functions are called a VERY high number of times.
I didn't see the definition of eog_image_get_type (where is it???)
I put a printf("collate\n") in eog_image_get_collate_key function and a
printf ("get_caption\n") in eog_image_get_caption function. Here are
the results:
snoopy:~$ softs/eog-2.22.0/src/eog -c misc/photos/album/00001.jpg|grep
get_caption|wc -l
2426
snoopy:~$ softs/eog-2.22.0/src/eog -c misc/photos/album/00001.jpg|grep
collate|wc -l
60234
snoopy:~$ l misc/photos/album/*.jpg|wc -l
2425
snoopy:~$
Conclusions/bugs:
- eog executes eog_image_get_collate_key a VERY high number of times.
- eog executes eog_image_get_caption for each file in the directory,
even with -c.
Cheers,
--
Eugen Dedu
More information about the pkg-gnome-maintainers
mailing list