# Conseiller::OptimisationController#quo_matches

- **Period:** 23 Jun 10:09 UTC – 23 Jun 13:28 UTC
- **Throughput**: 0.01 / min
- **Average:** 1108.5 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| sql | app/models/expert.rb:271 | 18.42 | 30.0 | 49.84% | `SELECT "reminders_registers".* FROM "reminders_registers" WHERE "reminders_regi…` |
| sql | app/helpers/page_infos_helper.rb:13 | 15.15 | 13.0 | 17.77% | `SELECT "needs".* FROM "needs" WHERE "needs"."id" IN (?)))) AND "needs"."status"…` |
| view | app/views/needs/_admin_need.html.haml | 2.92 | 25.0 | 6.59% |  |
| sql | app/controllers/conseiller/optimisation_controller.rb:78 | 62.0 | 1.0 | 5.59% | `SELECT COUNT(*) FROM "needs" WHERE "needs"."id" IN (?)))) AND "needs"."status" …` |
| gc | ruby/gc.c | 26.5 | 1.0 | 2.39% | `GC.start` |
| sql | app/controllers/conseiller/optimisation_controller.rb:80 | 22.0 | 1.0 | 1.98% | `SELECT COUNT(*) FROM "needs" WHERE "needs"."starred_at" IS NOT NULL AND "needs"…` |
| view | app/views/conseiller/optimisation/_filters.html.haml | 21.5 | 1.0 | 1.94% |  |
| sql | app/views/needs/_admin_need.html.haml:1 | 0.82 | 25.0 | 1.85% | `SELECT DISTINCT "experts"."updated_at" FROM "experts" INNER JOIN "matches" ON "…` |
| redis | app/views/needs/_admin_need.html.haml:1 | 0.62 | 31.5 | 1.76% | `get` |
| sql | app/views/needs/_admin_need.html.haml:20 | 1.0 | 19.5 | 1.76% | `SELECT "matches".* FROM "matches" WHERE "matches"."need_id" = ? ORDER BY "match…` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135976/requests/Conseiller::OptimisationController%23quo_matches?range=2026-06-23+10%3A09%3A45+UTC..2026-06-23+13%3A28%3A11+UTC)