qt5base-lts/tests/benchmarks/corelib
Alex Trotsenko aefd414ce2 QWinEventNotifier: unlink from event dispatcher
Instead of multiplexing all notifications into a single Qt event for
the event dispatcher, we can send 'WinEventAct' event directly for each
notifier which activated. This trick improves the performance (esp.
on a large number of events) and allows us to remove notifiers handling
from the event dispatcher completely.

As an alternative to sending Qt events, use of Windows' APC queue in
conjunction with waking up the Qt event loop from within the Windows
thread pool has been considered. However, that would lead to signal
emission asynchronous to the Qt event loop's operation, which is not
acceptable.

Thanks to Oswald Buddenhagen for the proposed idea.

[ChangeLog][QtCore][QAbstractEventDispatcher] The
{un}registerEventNotifier() member functions have been removed.
QWinEventNotifier is no longer needed to be registered in the
event dispatcher.

Change-Id: I140892fb909eaae0eabf2e07ebabcab78c43841c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
2020-11-10 17:56:51 +02:00
..
io CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
json Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
kernel QWinEventNotifier: unlink from event dispatcher 2020-11-10 17:56:51 +02:00
mimetypes CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
plugin CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
text Add constructor benchmarks for QLocale, to test likely sub-tag matching 2020-10-26 15:56:06 +02:00
thread Refactor QMutexLocker to be able to handle recursive mutexes 2020-10-17 12:02:49 +02:00
time CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
tools Fix QArrayDataOps generic and relocatable emplace() 2020-11-09 17:36:31 +01:00
CMakeLists.txt Move QTextCodec support out of QtCore 2020-06-20 02:04:38 +02:00
corelib.pro Move QTextCodec support out of QtCore 2020-06-20 02:04:38 +02:00