Add a performance test for signal connection
authorMatthias Clasen <mclasen@redhat.com>
Sat, 20 Sep 2014 04:34:24 +0000 (00:34 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 27 May 2015 18:41:19 +0000 (14:41 -0400)
commit8a97dc56528b45dcd84a8c46f94b9a25a26d5cc3
tree7e43b5585898ce0770f8f7254360cc6a76b3ba39
parentff1381e31e2c05d0e410c49e6a728ad175a9fc0a
Add a performance test for signal connection

This test checks the performance of connecting, disconnecting and
blocking many handlers. Various cases are checked: disconnect in
the same order, in the inverse order, at random. Connect to one
signal on a single object, to two signals on the same object, or
to the same signal on two different objects.

https://bugzilla.gnome.org/show_bug.cgi?id=737009
gobject/tests/Makefile.am
gobject/tests/signal-handler.c [new file with mode: 0644]