Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit amount of data for Blitzortung.org direct data. #153

Open
wuan opened this issue May 23, 2017 · 10 comments
Open

Limit amount of data for Blitzortung.org direct data. #153

wuan opened this issue May 23, 2017 · 10 comments
Labels

Comments

@wuan
Copy link
Owner

wuan commented May 23, 2017

The app gets unresponsive during high activity

@d3xter
Copy link
Collaborator

d3xter commented Jul 9, 2017

Does https://github.com/wuan/bo-android/blob/improve_ui_performance/ resolve the unresponsiveness?

@d3xter d3xter added the BUG label Jul 9, 2017
@wuan
Copy link
Owner Author

wuan commented Jul 9, 2017

Unfortunately this is a problem of the map view. We should add map features dynamically depending on the current view. Having a lot (several thousands to ten thousand, depending on the performance of the device) of map features by default degrades performance.

@d3xter
Copy link
Collaborator

d3xter commented Jul 9, 2017

Oh ok.

Does #154 help when we use it for StrikeShapes too?

@wuan
Copy link
Owner Author

wuan commented Jul 9, 2017

Ah, there was a problem during test. Your changes may have improved things. I just enabled the detailed strike mode for our tests, because direct Blitzortung.org access is too slow. There is a new icon on the right, which can be used to switch between raster end single strike mode.

@wuan
Copy link
Owner Author

wuan commented Jul 9, 2017

Unfortunately I do not see any strike on the map now. The raster display is working.

@d3xter
Copy link
Collaborator

d3xter commented Jul 10, 2017

StrikeShapes are drawn now. But strangely, sometimes there are white strikes and after the next data-retrieval the white ones are gone.

And there are no yellow strikes anymore

@wuan
Copy link
Owner Author

wuan commented Jul 10, 2017

That is a problem with the timestamp related expiry, already fixed locally

@wuan
Copy link
Owner Author

wuan commented Jul 10, 2017

It is faster than before, but still lags above 20k strikes. We could use raster display for overview and strikes at higher zoom levels, where we reduce the features on the map depending on the current view.

@d3xter
Copy link
Collaborator

d3xter commented Jul 10, 2017

Its working now.

I've disabled the drawing of the StrikeShape completly and its still laggy. so its not the drawing part, but rather the moving/resizing of all the strikes thats lagging

@d3xter
Copy link
Collaborator

d3xter commented Jul 23, 2017

I've tested 1.6_Beta3 yesterday with 120min TimeRange and about 60k Lightnings.

It was very slow when moving the map, but no more "App unresponsive" messages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants