Also, is your WebView storing cache to the drive and then reloading from there which is what Firefox would do? Try clearing Firefox's cache and then compare performance with an empty cache.

On 7/21/2013 7:06 PM, John C. Turnbull wrote:

Hi Morgan,

Yes, I was comparing apples and oranges as you say but even when I launch the WebView with some other initial URL and then navigate to Google Maps I find that the load time is much more sluggish than Firefox or Chrome (although faster than the initial load).

Can you comment on the behavioural quirks I referred to?

I will take your advice regarding loading the WebView on application start up.

Thanks,

-jct

*From:*[email protected] [mailto:[email protected]] *On Behalf Of *Morgan McKenzie
*Sent:* Sunday, 21 July 2013 12:14
*To:* John C. Turnbull; [email protected]
*Subject:* RE: [Interest] WebView in Qt 5.1 - first impressions

are you comparing having firefox closed and then opening and navigating to google maps, or just opening a tab and browsing there? because in my experience browsers take a little bit of time when you first open them... and it's the same with webview. So it kind of sounds like you're comparing apples to oranges... try loading webview to something other than the google maps, and then once that first page is done navigate to a map and see if it's still slow...

If you're really worried about it i'm pretty sure you could set it up so that webview loads up when the application first starts up (at the expense of extra RAM)... not that I'm a developer of it or anything, but just from my experience with other parts of qt, things are often loaded only when necessary.

Morgan

------------------------------------------------------------------------

From: [email protected] <mailto:[email protected]>
To: [email protected] <mailto:[email protected]>
Date: Sun, 21 Jul 2013 06:50:06 +1000
Subject: [Interest] WebView in Qt 5.1 - first impressions

Now that I have WebView successfully displaying Google Maps in Qt 5.1 I thought I would share my first impressions.

For a start, it seems to be way slower than Firefox or any other standard browser on this machine. When I open Google Maps in Firefox, the entire page is loaded and rendered in about 2 seconds. When I open the exact same page in WebView it takes about 10 seconds to load and render the entire page.

Once the initial page is loaded though the speed at which other linked pages are loaded and rendered seems to be not that much slower than in Firefox.

However, there seem to be a few behavioural quirks that I have noticed. For example, clicking the left mouse button and dragging the map is supposed to pan around but in WebView it has no effect. Also, double-clicking zooms into the map in Firefox and then subsequent double-clicks zoom in even further. With WebView the first double-click zooms in as expected but the second one then zooms back out again.

Why is loading the first page in WebView so much slower than a standard browser?

Why are there anomalies in the way the page behaves (especially with the mouse) and are these quirks likely to be fixed in a future release?

-jct


_______________________________________________ Interest mailing list [email protected] <mailto:[email protected]> http://lists.qt-project.org/mailman/listinfo/interest



_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to