Re: big number of relocations in gtk2 binding
- From: Thierry Vignaud <tvignaud mandriva com>
- To: Torsten Schoenfeld <kaffeetisch gmx de>
- Cc: gtk-perl-list gnome org
- Subject: Re: big number of relocations in gtk2 binding
- Date: Mon, 11 Feb 2008 16:26:45 +0100
Torsten Schoenfeld <kaffeetisch gmx de> writes:
Oi, the 124k patch seems to have blown the mailman message size
limit. Try this, instead:
http://asofyet.org/muppet/software/gtk2-perl/relocations.patch
Nice. With this applied, I see a 9% size reduction of the shared object
(11MiB -> 10MiB, with debugging symbols) and a 7% start speedup (0.067s
-> 0.062s, measured via timing many runs of `perl -MGtk2 -e'exit'´).
More startup speedup can be expected if we patch the other big
offenders (Glib & Cairo for everybody, Gnome2, Gnome2::VFS, ... for
gnome2 apps, ...):
$ relinfo.pl /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/Glib/Glib.so
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/Glib/Glib.so: 490 relocations, 252 relative
(51%), 521 PLT entries, 94 for local syms (18%), 0 users
$ relinfo.pl /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/Cairo/Cairo.so
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/Cairo/Cairo.so: 221 relocations, 2 relative
(0%), 334 PLT entries, 49 for local syms (14%), 0 users
$ relinfo.pl /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/Gtk2/SourceView/SourceView.so
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/Gtk2/SourceView/SourceView.so: 150
relocations, 2 relative (1%), 224 PLT entries, 0 for local syms (0%), 0 users
$ relinfo.pl /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/Gnome2/Gnome2.so
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/Gnome2/Gnome2.so: 440 relocations, 7
relative (1%), 576 PLT entries, 5 for local syms (0%), 0 users
tv vador mdk/soft/rpmdrake $ relinfo.pl
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/Gnome2/VFS/VFS.so
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/Gnome2/VFS/VFS.so: 280 relocations, 2
relative (0%), 424 PLT entries, 35 for local syms (8%), 0 users
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]