Re: [PATCH 4/4] gdbus: Add basic kdbus tests
- From: Yin Kangkai <kangkai yin linux intel com>
- To: gtk-devel-list gnome org
- Cc: chengwei yang intel com, systemd-devel lists freedesktop org, hj210 choi samsung com, desrt desrt ca, thiago macieira intel com, dev lists tizen org, auke-jan h kok intel com, kangkai yin intel com, myungjoo ham samsung com
- Subject: Re: [PATCH 4/4] gdbus: Add basic kdbus tests
- Date: Fri, 20 Dec 2013 23:23:27 +0800
On 2013-11-21, 12:33 +0100, Karol Lewandowski wrote:
+TESTS
+=====
+
+* Build test binaries:
+
+ cd gio/tests
+ make
+
+* Set variable to use custom library and to use kdbus as session bus:
+
+ export LD_LIBRARY_PATH=absolute_path_to_glib_libs_with_kdbus_patch
+ export DBUS_SESSION_BUS_ADDRESS=kdbus:path=/dev/kdbus/0-kdbus/bus
+
+* Run test binary server in terminal 1:
+
+ ./gdbus-example-kdbus-server
+
+* Run test binary client in terminal 2:
+
+ ./gdbus-example-kdbus-client
+
+* Sample client app output:
+
+ elapsed time : 0.265072 s
+ elapsed time : 0.264353 s
+ elapsed time : 0.305062 s
+ elapsed time : 0.343710 s
+ elapsed time : 0.451501 s
+ elapsed time : 1.109851 s
+ elapsed time : 8.278217 s
Will it be more interesting to show some real benchmarking numbers? ;)
- results with vanilla GIO;
- results with GIO with kdbus transport, talking to kdbus
dbus-daemon;
- results with GIO with kdbus transport, talking through systemd-bus-proxyd
to systemd-bus-driverd;
Regards,
Kangkai
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]