Results 1 to 1 of 1

Thread: QWebview's performance vs other browsers - win7

  1. #1

    Default QWebview's performance vs other browsers - win7

    Hi,

    i've tested a simple Qwebview application's speed performance against the other browsers (ff, chrome, ie).

    Downloading the same site is much slower in Qt (tested in 4.7 and 4.8).
    ff, chrome, ie: < 1s
    Qt: >3-6s

    This is the experience even with browser demo application shipped with Qt sdk.

    I've tried to find the reason of this, and i've seen the following in the web servers log: Qt downloads 6 urls at a time, and between every 6 urls it 'waits' 800-900ms, and then asks for the next 6 urls.

    For example a page contains 20-25 items (js, css, images, etc):
    Qt downloads this way from aspect of web server:
    Qt Code:
    1. GET index.html
    2. nothing for 800-900millisec
    3. GET style1.css
    4. GET style2.css
    5. GET style3.css
    6. GET style4.css
    7. GET style5.css
    8. GET style6.css
    9. nothing for 800-900millisec
    10. GET sth1.js
    11. GET sth2.js
    12. GET sth3.js
    13. GET sth4.js
    14. GET sth5.js
    15. GET sth6.js
    16. nothing for 800-900millisec
    17. ...
    To copy to clipboard, switch view to plain text mode 

    If i download the same page with ff, chrome or ie, the web log doesn't contain the 'sleeping periods'. They are much faster.
    Interesting details, that this happens in windows vista and win7. In xp there is no speed problem.

    I' ve found that Qt has a limit of parallel connections for http (http://www.qtcentre.org/threads/3753...l-for-one-host)

    But this speed performance is poor.

    Is there any idea to improve it?
    Thanks
    Last edited by herend; 26th February 2012 at 16:32.

Similar Threads

  1. Replies: 8
    Last Post: 3rd September 2013, 09:51
  2. Qt GUI Performance Help!
    By SeppBauer in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 27th July 2013, 05:18
  3. Qwt Performance
    By liran ritkop in forum Qwt
    Replies: 1
    Last Post: 27th April 2011, 14:28
  4. Qt performance
    By yagabey in forum Qt Programming
    Replies: 3
    Last Post: 22nd October 2008, 22:05
  5. [Qt4.1]How to make links open browsers?
    By patcito in forum Qt Programming
    Replies: 8
    Last Post: 16th March 2006, 18:37

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.