PATCH: get unix user speed up

Havoc Pennington hp at redhat.com
Mon Oct 17 20:24:17 PDT 2005


On Tue, 2005-10-18 at 00:56 +0100, Michael Krivoruchko wrote:
> Hi,
> 
> the attached patch reduces round trip time for GetConnectionUnixUser by
> avoiding repetitive calls to system specific authentication API behind
> dbus_connection_get_unix_user.

Did you do any profiling on how much difference this makes? It does seem
to increase the amount of code / potential for bugs so if it doesn't
help much it might not be worth it... I'm assuming this came up while
profiling though?

Havoc




More information about the dbus mailing list