[Qt5-feedback] libevent-based QEventDispatcher

Thiago Macieira thiago at kde.org
Sun May 15 09:45:23 CEST 2011


On Saturday, 14 de May de 2011 22:45:15 Gifford Hesketh wrote:
> Correct me if I am wrong, but my understanding is that
> QEventDispatcher plays an important role in Qt and essentially uses
> select() as its underlying mechanism.  Libevent provides a unified,
> cross-platform interface to the most important modern replacements for
> select().  Even with a relatively small number of monitored events,
> libevent can provide an order of magnitude improvement in
> efficiency/performance/etc.

I doubt that our event dispatcher is so bad that libevent would be an order of 
magnitude better.

I'm really interested in numbers here. Someone will have to prototype the 
support and benchmark some real applications and some unreal ones (stress-
test) so we can make a choice.

The most important case for an event dispatcher is actually compatibility with 
other frameworks. Is anyone also pushing Glib to switch to libevent?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt.nokia.com/pipermail/qt5-feedback/attachments/20110515/bdaca1fa/attachment.bin 


More information about the Qt5-feedback mailing list