# Conseiller::Diagnoses::StepsController#add_match

- **Period:** 24 Jun 05:22 UTC – 24 Jun 08:21 UTC
- **Throughput**: 0.03 / min
- **Average:** 421.7 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| view | app/views/conseiller/diagnoses/steps/matches.html.haml | 146.0 | 1.0 | 34.62% |  |
| sql | app/controllers/conseiller/diagnoses/steps_controller.rb:71 | 10.63 | 8.0 | 20.16% | `BEGIN SELECT ? AS one FROM "matches" WHERE "matches"."expert_id" = ? AND "match…` |
| sql | app/models/expert.rb:256 | 56.0 | 1.0 | 13.28% | `SELECT "experts"."id" FROM "experts" LEFT OUTER JOIN "antennes" ON "antennes"."…` |
| gc | ruby/gc.c | 37.29 | 1.17 | 10.32% | `GC.start` |
| code | app/controllers/conseiller/diagnoses/steps_controller.rb:67 | 10.67 | 1.0 | 2.53% | `Conseiller::Diagnoses::StepsController#add_match` |
| view | app/views/conseiller/diagnoses/steps/_expert_content.html.haml | 3.27 | 2.5 | 1.94% |  |
| sql | app/services/diagnosis_creation/find_relevant_expert_subjects.rb:36 | 7.17 | 1.0 | 1.70% | `SELECT "experts_subjects".* FROM "experts_subjects" INNER JOIN "experts" ON "ex…` |
| sql | app/views/conseiller/diagnoses/steps/_expert_content.html.haml:15 | 0.63 | 10.5 | 1.58% | `SELECT "institutions_subjects".* FROM "institutions_subjects" WHERE "institutio…` |
| sql | app/models/expert_subject.rb:99 | 0.81 | 8.0 | 1.54% | `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=3h)