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:
GET index.html nothing for 800-900millisec GET style1.css GET style2.css GET style3.css GET style4.css GET style5.css GET style6.css nothing for 800-900millisec GET sth1.js GET sth2.js GET sth3.js GET sth4.js GET sth5.js GET sth6.js nothing for 800-900millisec ...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
Bookmarks