-
Notifications
You must be signed in to change notification settings - Fork 10
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 of GetAllProjects with pagination #394
Comments
Tested on my local machine on with develop branch. Switched amountOnPage parameters. https://api.staging.dex.software/api/project?page=1&amountOnPage=22&sortBy=updated&sortDirection=desc |
The database in production has the same project. https://dex.software/project/details/85-awesome-dotnet |
Applied this https://stackoverflow.com/a/40183279 to our GetAllWithUsersAndCollaboratorsAsync method in the project repo. Performance increased from 850-1000ms to 200-350ms. |
After deleting awesome dot net the performance even increased to 100-200ms. |
Describe the bug
Using the pagination in the project overview page is very slow.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should be way faster.
Screenshots
1.6s to load the project overview page 2.
Production URL
https://staging.dex.software/project/overview
Additional context
It looks like awesome dot net has something to do with it. https://staging.dex.software/project/details/1-awesome-dotnet
However, this project slows the performance on staging but not on production.
The text was updated successfully, but these errors were encountered: