AKSW / building-navigator

The Gebäude-Navigator helps you to find accessible places in Leipzig.
https://behindertenverband-leipzig.de/gebaeude-navigator
GNU General Public License v3.0
3 stars 2 forks source link

Perfomance issues on change route. Is this a development-only issue? #46

Closed simeonackermann closed 6 years ago

k00ni commented 6 years ago

What exactly is the problem here?

simeonackermann commented 6 years ago

The loading time on change a route (eg going to results and back to search) increases on changing the route several times.

Problem also exists on productive.

k00ni commented 6 years ago

Do you know the cause? And if so, how hard is it to fix?

simeonackermann commented 6 years ago

Problem already exists on last release /master).

Even going back to search, which is not any hard calculation, causes higher loading time.

simeonackermann commented 6 years ago

I dont know yet.

Even CPU load increases.

simeonackermann commented 6 years ago

I will do some research later...

k00ni commented 6 years ago

Did you test only locally or did you check https://behindertenverband-leipzig.de/gebaeude-navigator too?

simeonackermann commented 6 years ago

I get this issue locally and online

simeonackermann commented 6 years ago

Ok, I guess I found the problem. Its because a background cloning of all current states (buildings, filters etc) on change a route, what is required to set the state on using browser back functionality. I will see if it can work somehow else.

simeonackermann commented 6 years ago

Fixed with 89e40e4