cartes icon indicating copy to clipboard operation
cartes copied to clipboard

Performance de l'appli Web

Open laem opened this issue 1 year ago • 1 comments

🇬🇧 Performance 🇬🇧

Some say that Web maps cannot be swift. Indeed, cartes.app is currently slower than Organic Maps when you dezoom the map. Our mobile drawer component is also a bit more laggy.

I'm convinced we can optimize all that and approach parity. Here are some ideas.

React performance

  • [ ] Test https://github.com/kristiandupont/react-geiger

Maplibre performance

  • [ ] Iterate on reducing the load of our tiles / our maplibre style.

There's no simple way to do that (I asked the team in the issues) : you have to try and learn by deactivating some layers and see

  • [ ] for high zooms, reduce the size of the bathymetry data

Interface js load

  • [ ] reduce the size of the bundle. We can probably move some local data to APIs for instance
    • [ ] check how heavy terradraw is. Load it lazily if needed.

⌚️4 days

laem avatar Mar 09 '24 21:03 laem