Dismissed view takes forever to load #427

Closed
opened 2024-12-06 00:54:17 +00:00 by fricklerhandwerk · 1 comment
fricklerhandwerk commented 2024-12-06 00:54:17 +00:00 (Migrated from github.com)

Using the staging DB dump from 2024-12-05, the list of dismissed suggestions takes a minute for domLoading.

Not sure what causes it, could be a very nasty suggestion item.

Using the staging DB dump from 2024-12-05, the list of dismissed suggestions takes a minute for domLoading. Not sure what causes it, could be a very nasty suggestion item.
fricklerhandwerk commented 2024-12-06 08:37:26 +00:00 (Migrated from github.com)

The culprit is clearly the activity log which isn't cached but loops queries over each suggestion. But it's compounded by the fact that we have very deep data structures, so even without the activity logs we have 400ms for domLoading for a full page although the query is like 40ms.

The culprit is clearly the activity log which isn't cached but loops queries over each suggestion. But it's compounded by the fact that we have very deep data structures, so even without the activity logs we have 400ms for domLoading for a full page although the query is like 40ms.
Sign in to join this conversation.
No description provided.