DBus-Daemon Optimizations
Schmottlach, Glenn
glenn.schmottlach at harman.com
Mon Mar 2 14:00:24 PST 2009
I ran the dbus-daemon with the profiler enabled under QNX 6.4.0 on an
x86 platform under VMWare. Since I'm more concerned here with where the
time is being spent the target processor (OMAP or x86) used for
profiling isn't relevant.
For the test a client requests a 256 byte string from the service. This
synchronous call is executed 10000 times.
The top five functions where time is spent include the following:
Function % Time Usage
======================= =============
load_message 14%
_dbus_header_load 12%
_dbus_header_get_field_basic 8%
connection_is_primary_owner 4%
_dbus_type_get_alignment 2%
socket_do_iteration 2%
The rest of the functions are in the noise (> 2%)
More information about the dbus
mailing list