# Conseiller::Diagnoses::StepsController#add_match

- **Period:** 24 Jun 07:51 UTC – 24 Jun 08:20 UTC
- **Throughput**: 0.17 / min
- **Average:** 383.4 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| view | app/views/conseiller/diagnoses/steps/matches.html.haml | 145.4 | 1.0 | 37.92% |  |
| sql | app/models/expert.rb:256 | 55.2 | 1.0 | 14.40% | `SELECT "experts"."id" FROM "experts" LEFT OUTER JOIN "antennes" ON "antennes"."…` |
| gc | ruby/gc.c | 37.29 | 1.4 | 13.61% | `GC.start` |
| sql | app/controllers/conseiller/diagnoses/steps_controller.rb:71 | 5.45 | 8.0 | 11.37% | `BEGIN SELECT ? AS one FROM "matches" WHERE "matches"."expert_id" = ? AND "match…` |
| code | app/controllers/conseiller/diagnoses/steps_controller.rb:67 | 10.2 | 1.0 | 2.66% | `Conseiller::Diagnoses::StepsController#add_match` |
| view | app/views/conseiller/diagnoses/steps/_expert_content.html.haml | 3.55 | 2.2 | 2.03% |  |
| sql | app/views/conseiller/diagnoses/steps/_expert_content.html.haml:15 | 0.67 | 10.8 | 1.88% | `SELECT "institutions_subjects".* FROM "institutions_subjects" WHERE "institutio…` |
| sql | app/services/diagnosis_creation/find_relevant_expert_subjects.rb:36 | 6.6 | 1.0 | 1.72% | `SELECT "experts_subjects".* FROM "experts_subjects" INNER JOIN "experts" ON "ex…` |
| sql | app/models/expert_subject.rb:99 | 0.83 | 7.2 | 1.56% | `SELECT "match_filters".* FROM "match_filters" INNER JOIN "experts" ON "match_fi…` |
| view | app/views/conseiller/diagnoses/steps/_expert_subject_checkboxes.html.haml | 4.0 | 1.0 | 1.04% |  |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135976/requests/Conseiller::Diagnoses::StepsController%23add_match?range=30m)