Starting the kdbus discussions
Thiago Macieira
thiago at kde.org
Fri Jan 17 09:35:44 PST 2014
On sexta-feira, 17 de janeiro de 2014 14:27:38, Lukasz Skalski wrote:
> +--------------+--------------------+--------------------+
> | | Elapsed time | Elapsed time |
> |
> | Message size | GLIB WITH KDBUS | GLIB + DBUS_DAEMON |
> |
> | | SUPPORT | |
> +--------------+--------------------+--------------------+
> | 1000 x 4kB | 1.351737 s | 1.870417 s |
> +--------------+--------------------+--------------------+
> | 1000 x 8kB | 1.349266 s | 1.857693 s |
> +--------------+--------------------+--------------------+
> | 1000 x 16kB | 1.383427 s | 2.219304 s |
> +--------------+--------------------+--------------------+
> | 1000 x 32kB | 1.358608 s | 2.542795 s |
> +--------------+--------------------+--------------------+
> | 1000 x 64kB | 1.878409 s | 3.062035 s |
> +--------------+--------------------+--------------------+
> | 1000 x 128kB | 2.265555 s | 4.043454 s |
> +--------------+--------------------+--------------------+
> | 1000 x 256kB | 3.112191 s | 6.657750 s |
> +--------------+--------------------+--------------------+
> | 1000 x 512kB | 3.383699 s | 11.400224 s |
> +--------------+--------------------+--------------------+
> | 1000 x 1MB | 4.703610 s | 19.041988 s |
> +--------------+--------------------+--------------------+
Thanks Lukasz
Looks like the old code takes linear time related to the message size, but the
new code takes constant time up to 32kB, which is bigger than most reasonable
message sizes. That's great news.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20140117/764eac5a/attachment.pgp>
More information about the dbus
mailing list