Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
Simple timing testing of signals/slots
jarred last edited by
I am trying to perform some simple performance testing regarding Qt's signals/slots mechanism.For example, I would like to see how long it takes for a slot attached to a pushbutton to be called once the release signal is raised.
I have tried to inherit the Pushbutton and redefine the release() function, but that did not work out very well. Are there any other simple methods?
goetz last edited by
You must modify the sources for the push button and add the timing at the place where the signal is emitted.
dangelog last edited by
Are you planning to profile the signal/slot system itself or in particular what QPushButton does? In the former case, you can just write your signal and slots...