community-platform icon indicating copy to clipboard operation
community-platform copied to clipboard

Map Performance

Open thisismattia opened this issue 3 years ago • 7 comments

Hello,

Recently I have had performance issues with the Community Platform map. A few seconds after I get on the map (chrome) my laptop's fans start and seem like it is struggling big time. All other apps are closed. From the activity monitor seems like it is chrome struggling to render the map.

As I quit the map, few minutes later is all back to normal.

Anyone else experiencing such difficulties?

image

thisismattia avatar Nov 08 '21 14:11 thisismattia

Thanks for the report @mattia-io, I haven't as yet been able to recreate the behaviour. Would you be able to provide a bit more information about your system to help us recreate the issue.

Are you able to recreate the issue in an incognito tab? One hypothesis is that a browser extension could be causing this.

Broadly speaking I am sure there are some optimisations we could make to this page but I would love to understand the specific issue you're experiencing.

thisislawatts avatar Nov 09 '21 18:11 thisislawatts

Hey @thisislawatts thanks for this!

Did try and it actually works soo much better. Crazy that extensions alone can slow the whole thing so badly. Hopefully, I am the only one with such issues. As it was really freezing my laptop. Anything we could do at our end to make sure extension-rich people like myself can still use the map?

thisismattia avatar Nov 11 '21 08:11 thisismattia

Thanks for the quick response @mattia-io, that is super helpful.

We should be aiming to create a page that requires the least possible resources from our visitors. Whilst your specific combination of extensions may have tipped the total resource usage into being unusable on your machine it suggests there is some improvements we could make to deliver a faster experience for everyone.

Next steps would be to do some performance profiling on this page and identify areas for optimisation. Off the top of my head I think we are loading all mappin data from the server. But making changes off of gut feels without data will probably be unproductive.

thisislawatts avatar Nov 12 '21 06:11 thisislawatts

Hi, I just checked the map on an average laptop, and did not notice any performance issue. Nothing seems to keep running when inactive, and there is no degradation of performance or lag when interacting (click and drag the map, click on markers).

Performance profile attached: profile.json.txt

mef avatar Dec 15 '21 19:12 mef

Thanks @mef for checking 💪

thisismattia avatar Dec 19 '21 14:12 thisismattia

Thanks for taking the time to profile this page @mef 🙏🏻

Would you be able to share a bit more context on the system you used to conduct this review. For example, CPU/RAM, operating system version and browser details?

thisislawatts avatar Dec 28 '21 09:12 thisislawatts

Would you be able to share a bit more context on the system you used to conduct this review.

Sure:

  • Operating System: Debian 10 buster (linux)
  • Intel Core i5-8265U
  • 16GB RAM
  • Browser: Firefox v95
  • Firefox's built-in "Enhanced Tracking Protection" feature activated on the website.

mef avatar Dec 28 '21 09:12 mef

Closing due to age of issue and no further reports. If you're still getting problems please re-open.

iSCJT avatar Jun 22 '23 15:06 iSCJT