enricofer / go2streetview

22 stars 22 forks source link

Lot of latency in street view mode #25

Closed tosage closed 7 years ago

tosage commented 7 years ago

Hy,

Since wednesday of this week, a lot of my users experience a "big" latency when they move their cursor in the plugin. I don't understand why beacause when they do the same thing on Street view in google chrome, they do not have the worry.

They use the 7.0 of the plugin in Qgis 2.1x.x

Any advices are appreciate :)

David

enricofer commented 7 years ago

At the moment I'm not finding anything strange in my test machines. I leave the issue opened.

2016-11-18 10:13 GMT+01:00 tosage notifications@github.com:

Hy,

Since wednesday of this week, a lot of my users experience a "big" latency when they move their cursor in the plugin. I don't understand why beacause when they do the same thing on Street view in google chrome, they do not have the worry.

They use the 7.0 of the plugin in Qgis 2.12.2 or 2.14.x.

Any advices are appreciate :)

David

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/enricofer/go2streetview/issues/25, or mute the thread https://github.com/notifications/unsubscribe-auth/AHMgg-InouoG7I2WpSNR2bp4ARE6kmlsks5q_WxGgaJpZM4K2RB8 .

frugardc commented 7 years ago

Our users are seeing the same thing. Both 64 bit clients and 32 bit clients, using 2.14. Anything I can do to assist testing?

frugardc commented 7 years ago

More specifically, the latency occurs when you "Click to go". When that option is turned off, the speed is normal. Of course, you cannot navigate down the street.

SergioGollino commented 7 years ago

I have the same strong latency problem. Qgis 2.14.8

Danewyn commented 7 years ago

Same problem here, occurred around the same time as OP. My colleagues also have the problem. We are using the 7.0 version of the plugin, QGIS 2.14.4 on Windows 7 64-bits.

enricofer commented 7 years ago

I recently push a commit https://github.com/enricofer/go2streetview/commit/ffab3b18a0cd0b63581526226ebcf30bed628de9 to update api and fix another issue Please download and install master and check if this issue persists.

Danewyn commented 7 years ago

Unfortunately, the problem is still there for me.

SergioGollino commented 7 years ago

Still there for me too. Thanks for support!

mespinos commented 7 years ago

Same here. A lot of latency. Seems that it works a little bit faster when window size of street view is smaller.

Danewyn commented 7 years ago

Any news ?

Don't want to sound rude or to be oppressive but this function is just so useful in my everyday tasks.

Thank you !

kylesomerville commented 7 years ago

Just to add to comments above - in recent weeks I've found the plugin to be verging on unusably slow. Issue is reduced when using a smaller window.

enricofer commented 7 years ago

Could you check the new master version inserting Google Maps API key and report if the issue remains?

mespinos commented 7 years ago

Enrico, 7.2 seems to work faster at my Mac and with big window size. Tomorrow I'll check it at my office (Windows with 2 screen, one used for G2SV)

SergioGollino commented 7 years ago

On W10 (2 screens) I continue to see a lot of latency even in a small window.

enricofer commented 7 years ago

In the new master release you can activate web inspector from plugin menu (it's above About item) Could you please activate it and check for errors in console slot?

SergioGollino commented 7 years ago

Sure, here is the result. Thanks!

console_error

enricofer commented 7 years ago

and network slot?

SergioGollino commented 7 years ago

Sorry I don't know how to export a text report. The network slot gives a quite long report.

network_1 network_2

enricofer commented 7 years ago

It suffits. There is no network issue. All resources are downloaded with the expected latency. There is no javascript issue. So I can't understand why you have latency in your instance. Perhaps there is a Qt issue related to double display? Could you try the same in a single display even with docked widget?

Danewyn commented 7 years ago

On my side (W7), results from the network and console inspector are quite similar. The problem stays on single and dual screens.

SergioGollino commented 7 years ago

No for me it's not related to dual screens. If I use the widget docked, there is no big latency, if I use the widget as a window the latency increases (on single and dual screen).

enricofer commented 7 years ago

So we can state that latency is due to large size plugin window. In a typical urban context, for a 640px x 400px window, I'm measuring from web inspector about 30 requests and 2 Mb of download, for a 1920px x 1024px window I get 70 requests and 3,5 Mb od download Furthermore, more memory and processing resource is needed for panorama browsing. Qt4 Webkit is showing its limits....