[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: About performance of D-Bus
From:       "Havoc Pennington" <hp () pobox ! com>
Date:       2008-11-05 13:46:09
Message-ID: 2cef5bf40811050546o1e8c4421w76f46f4be7572860 () mail ! gmail ! com
[Download RAW message or body]

Hi,

On Wed, Nov 5, 2008 at 8:41 AM, Jerome Philbert
<jerome.philbert@gmail.com> wrote:
> I think I have also tried your suggestions number 3 and 4.
> Is not it equivalent to:
> - remove paranoid validation ? (by using
> DBUS_VALIDATION_MODE_WE_TRUST_THIS_DATA_ABSOLUTELY in the code)
> - build D-Bus with disable-checks option ?
> In this way, I have measured that D-Bus was 7% faster.
>

I think if you wrote a library from scratch, you could disable even
more validation, basically - write code that would just crash and burn
horribly on invalid data, that never checked anything at all, but was
pretty fast.

If you profile just plain raw sockets with no protocol parsing,
exchanging messages in a blocking way, that will tell you what the
absolute theoretical fastest library you could write would be like.

Havoc
_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic