openstreetmap/iD

Mapilio: Low performance

danieldegroot2 opened this issue · 1 comments

URL

No response

How to reproduce the issue?

Out of all providers, mapilio seems to be least performant with loading high amount of images (besides kartaview not loading many images at all)
Sometimes Mapilio (initially) fails to load the sequence highlight at least on initial download (uncached tiles)
This is especially visible when there is many sequences
There are no errors in the web console, loading time otherwise seems normal.

Image highlights load. Sequence highlight is not loaded.
CPU usage spikes twice.
Any image is selected. Sequence highlights attempts to load. Usually works but after few attempts on different places with many sequences, performance becomes worse.
CPU usage increases further.
GPU usage now also increases very much.
Page attempts to visually reload (goes white, then black) but GPU usage instantly increases again. It then keeps trying to reload over and over.

https://www.openstreetmap.org/edit#map=19/53.400525/-6.321288

iD 2.30.4-release on openstreetmap.org (did not test development version yet, but I assume it is identical)
Chrome 130.0.6723.117 on Windows 10. (no other browsers tested)

Screenshot(s) or anything else?

So, it wants to break my browser now. Here is a screenshot from earlier.

image

Which deployed environments do you see the issue in?

Released version at openstreetmap.org/edit

What version numbers does this issue effect?

2.30.4

Which browsers are you seeing this problem on?

Chrome

In principle, the code for Mapilio is not much different from the other providers, so it might be just a particularily high amount of images in the area, but I'll take a deeper look at the later today.