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

Optimize summaries page with queryable properties #3890

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Conversation

ColonelPhantom
Copy link
Contributor

Closes #ISSUE.

Summary

Adds queryable properties for summary and exam counts. Then, these are prefetched immediately, which should greatly speed up the summaries page.

How to test

  1. Open summaries page
  2. See that results are the same
  3. Observe that there are fewer queries to the database and that hopefully the page loads faster

@DeD1rk
Copy link
Member

DeD1rk commented Jan 22, 2025

😍

@DeD1rk DeD1rk merged commit 43972a9 into master Jan 22, 2025
8 checks passed
@DeD1rk DeD1rk deleted the optimize-summaries branch January 22, 2025 18:25
@ColonelPhantom
Copy link
Contributor Author

I actually just noticed I also tried this earlier but it gave problems: #2958

However there I did not check for acceptedness, which was quite likely to be the problem.

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

Successfully merging this pull request may close these issues.

2 participants