Results 1 to 2 of 2

Thread: QT core lib performance?

  1. #1
    Join Date
    Jan 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QT core lib performance?

    Hi Guys,

    I am new to QT. Right now we are going to develop an application cross Linux and Windows platform. The application will be heavy workload: more than 200 threads and frequent IPC plus disk I/O.

    QT provides a good platform that has already covered the OS portability. But we are hesitating if QT core library can provide the good enough performance, especially thread, d-bus, sharedmemory and file I/O :confused.

    Have any benchmarks been done regarding to QT performance evaluation? How's the performance based on your experience?

    Appreciate your help in advance!

    Best regards,
    Quentin

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QT core lib performance?

    Well... multithreading, shared memory and d-bus are all done outside the library, so it doesn't introduce any slowdowns itself. File I/O depends on the way you use it - if you use QFile directly then it is faster than using it through QTextStream for example. A potential slowdown may also come from the fact that Qt uses additional buffers so the time between calling the write() method to the data actually being written to disk migh increase a bit compared to using fprintf() or ::write().

    On the other hand Qt is very fast when it comes to data manipulation especially when using Qt's container classes and shared classes. This has been benchmarked as shows much better results than STL for example.

Similar Threads

  1. Performance Issues in Qt-4.4.3 / Qwt-5.1.1
    By swamyonline in forum Qt Programming
    Replies: 2
    Last Post: 25th January 2009, 17:50
  2. Qt4 poor printing performance
    By seneca in forum Qt Programming
    Replies: 4
    Last Post: 22nd January 2009, 14:23
  3. openGL in Qtopia core
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 18th July 2008, 11:26
  4. Qtopia Core & OpenGL ES?
    By zelko in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 28th May 2007, 07:21

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.