planner icon indicating copy to clipboard operation
planner copied to clipboard

Identify slow requests

Open jonodrew opened this issue 6 months ago • 2 comments

I'm not completely happy with this yet.

I've written some helper methods to grab all of the 'things' a member is attending and find them once, when the controller method is called. This replaces the map loop that generated two queries per event.

However, I think there's some clash here. The set of Event, Meeting, and Workshop ids will have some overlap and the tests will therefore be flakey. Advice welcome

jonodrew avatar Aug 24 '25 12:08 jonodrew

In total, this cuts loading the front page down to below 4s

jonodrew avatar Aug 24 '25 14:08 jonodrew

In total, this cuts loading the front page down to below 4s

I'm interested to know more about the savings you hope to make. I just loaded the production front page in 3.42s will your changes reduce that?

davidmillen50 avatar Aug 25 '25 15:08 davidmillen50