# Conseiller::OptimisationController#quo_matches

- **Period:** 23 Jun 06:18 UTC – 24 Jun 06:17 UTC
- **Throughput**: 0.0 / min
- **Average:** 930.4 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| sql | app/models/expert.rb:271 | 22.01 | 19.14 | 45.28% | `SELECT "reminders_registers".* FROM "reminders_registers" WHERE "reminders_regi…` |
| sql | app/helpers/page_infos_helper.rb:13 | 16.14 | 13.0 | 22.55% | `SELECT "needs".* FROM "needs" WHERE "needs"."id" IN (?)))) AND "needs"."status"…` |
| sql | app/controllers/conseiller/optimisation_controller.rb:78 | 57.29 | 1.0 | 6.16% | `SELECT COUNT(*) FROM "needs" WHERE "needs"."id" IN (?)))) AND "needs"."status" …` |
| view | app/views/needs/_admin_need.html.haml | 2.14 | 25.0 | 5.74% |  |
| view | app/views/conseiller/optimisation/_filters.html.haml | 21.14 | 1.0 | 2.27% |  |
| sql | app/controllers/conseiller/optimisation_controller.rb:80 | 19.71 | 1.0 | 2.12% | `SELECT COUNT(*) FROM "needs" WHERE "needs"."starred_at" IS NOT NULL AND "needs"…` |
| redis | app/views/needs/_admin_need.html.haml:1 | 0.61 | 29.14 | 1.92% | `get` |
| sql | app/views/needs/_admin_need.html.haml:1 | 0.65 | 25.0 | 1.75% | `SELECT DISTINCT "experts"."updated_at" FROM "experts" INNER JOIN "matches" ON "…` |
| gc | ruby/gc.c | 21.6 | 0.71 | 1.66% | `GC.start` |
| sql | app/views/needs/_admin_need.html.haml:20 | 1.03 | 12.43 | 1.38% | `SELECT "matches".* FROM "matches" WHERE "matches"."need_id" = ? ORDER BY "match…` |
| code | app/controllers/conseiller/optimisation_controller.rb:16 | 12.57 | 1.0 | 1.35% | `Conseiller::OptimisationController#quo_matches` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135976/requests/Conseiller::OptimisationController%23quo_matches?range=1d)