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

perf/general-stats #2771

Merged
merged 14 commits into from
Nov 13, 2023
Merged

perf/general-stats #2771

merged 14 commits into from
Nov 13, 2023

Conversation

mvergez
Copy link
Contributor

@mvergez mvergez commented Oct 26, 2023

Salut !

Dans le cadre d'une prestation pour l'Agence Régionale de la Biodiversité en île de France, nous avons remarqué la lenteur de la route /synthese/general_stats.

Cette PR vise à améliorer les performances en remplaçant un len() par un count directement. Cette route apparait toujours comme lente par le navigateur mais cela fait quand même gagner quelques secondes

@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
backend/geonature/core/command/main.py 0.00% <ø> (ø)
backend/geonature/core/gn_synthese/routes.py 87.27% <100.00%> (ø)
backend/geonature/utils/command.py 0.00% <ø> (ø)

... and 3 files with indirect coverage changes

📢 Thoughts on this report? Let us know!

@camillemonchicourt camillemonchicourt added this to the 2.13 milestone Nov 13, 2023
@jacquesfize jacquesfize changed the base branch from develop to hotfix/2.13 November 13, 2023 09:41
@jacquesfize jacquesfize merged commit 67a594a into PnX-SI:hotfix/2.13 Nov 13, 2023
2 checks passed
@Pierre-Narcisi Pierre-Narcisi mentioned this pull request Nov 13, 2023
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.

5 participants