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

ETQ admin, améliore un peu la vitesse de chargement de la liste des démarches #10928

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

colinux
Copy link
Member

@colinux colinux commented Oct 14, 2024

Corrige des N+1 sur Administrateurs::Procedures#index :

  • qui comptent le nombre d'instructeurs ou groupe d'instructeurs
  • qui récupère le logo (2 requêtes par démarche)

Il en reste d'autres qui dépendent de modèles et/ou conditions intermédiaires, mais qui sont franchement plus complexes et plus coûteux à implémenter.

Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.50%. Comparing base (8e1b636) to head (df0e0e9).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10928   +/-   ##
=======================================
  Coverage   84.50%   84.50%           
=======================================
  Files        1140     1140           
  Lines       25244    25246    +2     
  Branches     4724     4724           
=======================================
+ Hits        21332    21334    +2     
  Misses       3912     3912           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@colinux colinux added this pull request to the merge queue Oct 14, 2024
Merged via the queue into demarches-simplifiees:main with commit bac54ba Oct 14, 2024
18 checks passed
@colinux colinux deleted the perf-admin-index branch October 14, 2024 11:42
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