Add benchmark for peer-to-peer dbus communication using libglib 60/267160/7
authorAdam Michalski <a.michalski2@partner.samsung.com>
Fri, 26 Nov 2021 10:50:18 +0000 (11:50 +0100)
committerAdam Michalski <a.michalski2@partner.samsung.com>
Mon, 13 Dec 2021 16:46:03 +0000 (17:46 +0100)
commita863b68f5fdd9c4254b05c3d69a796557f8eec7b
treee43e64fd2f841f6be656c832334ba6831ca25347
parentca825085613892fa2eb430cfbbbe1a8f65ce4b38
Add benchmark for peer-to-peer dbus communication using libglib

This commit adds new set of DBus-Glib benchmarks. The difference from
previous benchmarks is that clients communicate directly
(using libglib private socket) and not through dbus-daemon.

The benchmark should allow to measure latency/throughput of
socket-based communication with dbus data format. Compared to
communication to dbus-daemon the following is not a part of
the transfer and needs to be kept in mind while comparing
performance that:

- policy is not checked
- only 1-to-1 communication is allowed (no broadcasts).

Change-Id: I84d090a0f3e0d70f3ceb20de36dac41e19e38ae7
Makefile
benchmark/common.c
benchmark/p2p-gdbus.c [new file with mode: 0644]
packaging/dbus-tools.spec