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

Performance concerns #51

Open
sveetch opened this issue Apr 2, 2023 · 1 comment
Open

Performance concerns #51

sveetch opened this issue Apr 2, 2023 · 1 comment
Labels
Idea A feature or behavior idea Question Further information is requested

Comments

@sveetch
Copy link
Member

sveetch commented Apr 2, 2023

Is your feature request related to a problem? Please describe.
There is currently no real issues with SQL queries, however we currently don't have any performance metrics of SQL operations performed in Lotus.

Article/Category should be very efficient since they have been built correctly, however the introduction of tags add something more and i'm wondering how it could grow executed queries (there is not select_related of prefetch_related in query, so listing article and displays their tags could be huge).

Describe the solution you'd like
Add new tests like in "tests/060_benchmark/" to check for templatetags and view operations and check how much queries they did and assert them.

Then it can be helpful to improve some operations with little adjustments.

@sveetch sveetch added Enhancement Feature enhancement Question Further information is requested good first issue labels Apr 2, 2023
@sveetch sveetch added Idea A feature or behavior idea and removed Enhancement Feature enhancement good first issue labels Jun 11, 2023
@sveetch sveetch changed the title Add a test to 'benchmark' queries Try to 'benchmark' queries Aug 8, 2023
@sveetch
Copy link
Member Author

sveetch commented Aug 8, 2023

Before to start test, we may first localy install django-debug-toolbar to inspect what is going on and find some adjustments.

@sveetch sveetch changed the title Try to 'benchmark' queries Performance concerns Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea A feature or behavior idea Question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant