Skip to content
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

Performance is pretty slow #7

Closed
rulkens opened this issue Jul 16, 2023 · 3 comments
Closed

Performance is pretty slow #7

rulkens opened this issue Jul 16, 2023 · 3 comments

Comments

@rulkens
Copy link
Collaborator

rulkens commented Jul 16, 2023

Hi all, I'm using the map extensively and with all the camps now filled in, the loading of data every time has come pretty much to a halt. Looking at performance, the culprit is the _getTotalAreaOfOverlappingEntities function. I could have a look at optimizing this, if I know what branch is currently deployed. Can someone tell me?

@TimGremalm
Copy link
Collaborator

Yes it's problematic. It would be great if you could have a look at it.
Next year we'll probably rethink this bit. Maybe do the calculation on the backend while saving and store the validated result. Or do the calculation in a thread.

The main branch is the one that we have deployed.

Would you like to join the placement team next year?

@rulkens
Copy link
Collaborator Author

rulkens commented Jul 17, 2023

Yes, I'd love to join next year! I think it indeed makes sense to do the calculation on the server and cache it, and serve the calculated values. If I had a little more time then I could do it :)

@lyret
Copy link
Collaborator

lyret commented May 7, 2024

Closing this to keep any discussions going in #10 instead

@lyret lyret closed this as completed May 7, 2024
@lyret lyret closed this as not planned Won't fix, can't repro, duplicate, stale May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants