MCS manager startup time

Olivier Fourdan fourdan at xfce.org
Wed Dec 21 22:01:50 CET 2005


Hi all,

I've just committed a change to the MCS manager that gives the startup 
time of each plugin.

The goal is to pinpoint and optimize the plugins that take longer to load.

Just configure xfce-mcs-manager with "--enable-loadprof" and restart the 
xfce-mcs-manager.

Example output:

Started /usr/lib/xfce4/mcs-plugins/ui_plugin.so in 0.429829 sec.
Started /usr/lib/xfce4/mcs-plugins/keyboard_plugin.so in 0.099960 sec.
Started /usr/lib/xfce4/mcs-plugins/mouse_plugin.so in 0.089964 sec.
Started /usr/lib/xfce4/mcs-plugins/screensaver_plugin.so in 0.059976 sec.
Started /usr/lib/xfce4/mcs-plugins/shortcuts_plugin.so in 0.159937 sec.
Started /usr/lib/xfce4/mcs-plugins/display_plugin.so in 0.029988 sec.
Started /usr/lib/xfce4/mcs-plugins/sound_settings.so in 0.019992 sec.
Started /usr/lib/xfce4/mcs-plugins/session_settings.so in 0.009996 sec.
Started /usr/lib/xfce4/mcs-plugins/splash_settings.so in 0.000000 sec.
Started /usr/lib/xfce4/mcs-plugins/terminal_settings.so in 0.019992 sec.
Started /usr/lib/xfce4/mcs-plugins/backdrop_settings.so in 0.009996 sec.
Started /usr/lib/xfce4/mcs-plugins/workspaces_plugin.so in 1.199523 sec.
Started /usr/lib/xfce4/mcs-plugins/xfwm4_plugin.so in 0.109956 sec.
Started /usr/lib/xfce4/mcs-plugins/orage_plugin.so in 0.039984 sec.
Started /usr/lib/xfce4/mcs-plugins/xfprint_plugin.so in 0.000000 sec.

Note it requires several runs to show a real trend.

Cheers,
Olivier.




More information about the Xfce4-dev mailing list