-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Redraw / UI slow after about 100 edits performed #2743
Comments
same problem with me |
Regarding Safari - it got a little crashy around 9.0.1 (see #2848), but seems to be better these days. I don't know of an issue that was causing saves to fail. That said, I do want to improve iD's performance once it gets up in the high (100ish) edit count. I've been using Chrome's profiler and fixed a memory leak in f2a8f71. But there is still more we can improve. The architecture of iD is that as you scroll around, the visible stuff of OSM gets loaded into a base Entity graph, and then as you edit, iD is constantly figuring out the difference between the base graph and the current graph. Clearly, the more edits you make, the slower this process will be. The bottlenecks seem to be:
cc @jfirebaugh, maybe he has thought about it? |
This is a kind of old issue.. In the course of fixing #4611, I realized that |
I was using Safari (10.10 + latest Safari) , but with the "save" button refusing to work 50% of the time (for a month or so) I switched to Chrome (44.0.2403.89). The chrome browser is more stable for iD and has a more aggressive caching wcheme for the background imagery, but for the last 30 edits, any time the edit count reaches 90-100 edits, the redraw of the movemnet of OSM data and the iD UI get laggier and laggier, and by 110+ edits the lag is so bad that positioning points is impossible.
This was not so much of an issue in Safari - i could get to 300+ edits without this occuring. I assume it is a cache size issue with iD. Maybe it is something i can adjust in settings, but I am not sure and this ptobbaly affects others.
Since iD in Safari is broken, please look into solving this issue with chrome, or give me a suggestion on how to mitigate this redraw/UI lag.
The text was updated successfully, but these errors were encountered: