# Conseiller::Diagnoses::StepsController#add_match

- **Period:** 23 Jun 13:28 UTC – 24 Jun 13:09 UTC
- **Throughput**: 0.0 / min
- **Average:** 432.2 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| view | app/views/conseiller/diagnoses/steps/matches.html.haml | 143.86 | 1.0 | 33.29% |  |
| sql | app/controllers/conseiller/diagnoses/steps_controller.rb:71 | 9.61 | 8.0 | 17.78% | `BEGIN SELECT ? AS one FROM "matches" WHERE "matches"."expert_id" = ? AND "match…` |
| gc | ruby/gc.c | 58.25 | 1.14 | 15.40% | `GC.start` |
| sql | app/models/expert.rb:256 | 55.29 | 1.0 | 12.79% | `SELECT "experts"."id" FROM "experts" LEFT OUTER JOIN "antennes" ON "antennes"."…` |
| code | app/controllers/conseiller/diagnoses/steps_controller.rb:67 | 10.29 | 1.0 | 2.38% | `Conseiller::Diagnoses::StepsController#add_match` |
| view | app/views/conseiller/diagnoses/steps/_expert_content.html.haml | 3.33 | 2.57 | 1.98% |  |
| sql | app/views/conseiller/diagnoses/steps/_expert_content.html.haml:15 | 0.59 | 11.86 | 1.62% | `SELECT "institutions_subjects".* FROM "institutions_subjects" WHERE "institutio…` |
| sql | app/services/diagnosis_creation/find_relevant_expert_subjects.rb:36 | 6.71 | 1.0 | 1.55% | `SELECT "experts_subjects".* FROM "experts_subjects" INNER JOIN "experts" ON "ex…` |
| sql | app/models/expert_subject.rb:99 | 0.78 | 7.71 | 1.39% | `SELECT "match_filters".* FROM "match_filters" INNER JOIN "experts" ON "match_fi…` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135976/requests/Conseiller::Diagnoses::StepsController%23add_match?range=2026-06-23+13%3A28%3A11+UTC..2026-06-24+13%3A28%3A11+UTC)