# Conseiller::Diagnoses::StepsController#add_match

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

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| view | app/views/conseiller/diagnoses/steps/matches.html.haml | 127.0 | 1.0 | 38.81% |  |
| sql | app/models/expert.rb:256 | 51.0 | 1.0 | 15.58% | `SELECT "experts"."id" FROM "experts" LEFT OUTER JOIN "antennes" ON "antennes"."…` |
| code | app/controllers/conseiller/diagnoses/steps_controller.rb:67 | 31.0 | 1.0 | 9.47% | `Conseiller::Diagnoses::StepsController#add_match` |
| gc | ruby/gc.c | 27.0 | 1.0 | 8.25% | `GC.start` |
| sql | app/controllers/conseiller/diagnoses/steps_controller.rb:71 | 2.25 | 8.0 | 5.50% | `BEGIN SELECT ? AS one FROM "matches" WHERE "matches"."expert_id" = ? AND "match…` |
| sql | app/services/diagnosis_creation/find_relevant_expert_subjects.rb:36 | 10.0 | 1.0 | 3.06% | `SELECT "experts_subjects".* FROM "experts_subjects" INNER JOIN "experts" ON "ex…` |
| sql | app/models/expert_subject.rb:99 | 0.67 | 9.0 | 1.83% | `SELECT "match_filters".* FROM "match_filters" INNER JOIN "experts" ON "match_fi…` |
| view | app/views/conseiller/diagnoses/steps/_expert_content.html.haml | 2.0 | 3.0 | 1.83% |  |
| sql | app/services/diagnosis_creation/find_relevant_expert_subjects.rb:31 | 0.8 | 5.0 | 1.22% | `SELECT ? AS one FROM "subject_answer_groupings" INNER JOIN "subject_answers" ON…` |
| view | app/views/conseiller/diagnoses/steps/_expert_subject_checkboxes.html.haml | 4.0 | 1.0 | 1.22% |  |

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