Re: Number of dynamically linked libraries (Was: Re: Gtk+4.0)
- From: Bastien Nocera <hadess hadess net>
- To: Sébastien Wilmet <swilmet gnome org>, gtk-devel-list gnome org
- Subject: Re: Number of dynamically linked libraries (Was: Re: Gtk+4.0)
- Date: Wed, 22 Jun 2016 20:47:02 +0200
On Wed, 2016-06-22 at 14:14 +0200, Sébastien Wilmet wrote:
On Tue, Jun 21, 2016 at 05:07:46PM +0100, Simon McVittie wrote:
2. Add experimental features through external libraries (libsexy
and so
on?)
<snip>
and linking a large number of tiny libraries has a measurable
startup
cost for applications.
https://blogs.gnome.org/alexl/2008/10/07/towards-a-ridley-based-platf
orm/
"""
Before:
ldd `which nautilus` | wc -l
91
After:
ldd `which nautilus` | wc -l
60
"""
Now:
ldd `which nautilus` | wc -l
98
Link it against gtk-3.0-wayland instead of both the x11 and wayland
versions, and try again? My nautilus links against 25 X libraries, both
the old-school versions and the xcb async versions. And to wayland libs
as well as Wayland.
Time for another Project Ridley?
It's nearly 8 years later, and the costs of linking to all those
libraries is likely hidden by even the slowest of NANDs, eMMCs or SSD.
Even a stock GNOME install will have all those cached by the OS by the
time you get to launch nautilus.
There might be benefits to reducing the library count, but startup
speed isn't likely to be one.
And it doesn't count the dlopen'ed libraries, like for the GIO
extension
points.
--
Sébastien
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]