[Xfce4-commits] r19947 - in xfce-utils/trunk: . xfrun

Jani Monoses jani.monoses at gmail.com
Sat Feb 18 20:47:19 CET 2006


> The first two are pretty trivial, and I implemented hugely-simplified
> versions of the latter two since I didn't need most of their generic
> features.  They'll probably never need to change (yeah, I know, I just
> jinxed it).  No more than 100 lines of code or so.  The nice bit is that
> we lose dependencies on libxfcegui4, libstartup-notification, libSM, and
> libICE.  Not too shabby.  The final stripped xfrun4 ends up being 20kB
> on my system, with 31 linked shared libraries.  Which is still probably
> more than it *really* needs, but I don't think there's a way to reduce
> that number.

The cost on startup is predominantly the reading of gtk icon data and 
fonts not that of the linked shared objects.
gmrun links to about the same number of shared object (35-36) here but
does about 4 times less file related syscalls (700 vs 3000) than both 
new and old xfrun4.
So as long as you keep the icons in the UI there, it is going to be 
slower than gmrun.
the dbus solution OTOH is instant ;)

Jani




More information about the Xfce4-dev mailing list