[openstreetmap/openstreetmap-website] Map Data checkbox: perhaps use toggle slider instead (PR #5009)

Roman Deev notifications at github.com
Thu Mar 20 09:11:18 UTC 2025


deevroman left a comment (openstreetmap/openstreetmap-website#5009)

> For CPU slowdown I use browser built-in functionality.

Ah, chromium, got it. 20x slowdown is unrealistic. With this value, I can't move the map normally, even without the data layer. But even with 20x slowdown, the layer with 11k features is drawn in 4 seconds when rendered synchronously on my PC.

> In such case, there would be 30 seconds freeze of browser if there was synchronous process.

This is not true because synchronous rendering is faster than asynchronous rendering. 

In general, I will most likely suggest a PR that disables asynchrony.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5009#issuecomment-2739672803
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5009/c2739672803 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250320/eceb338b/attachment-0001.htm>


More information about the rails-dev mailing list