# Conseiller::Diagnoses::StepsController#add_match

- **Period:** 24 Jun 07:14 UTC – 24 Jun 08:13 UTC
- **Throughput**: 0.08 / min
- **Average:** 445.6 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| view | app/views/conseiller/diagnoses/steps/matches.html.haml | 147.6 | 1.0 | 33.13% |  |
| sql | app/controllers/conseiller/diagnoses/steps_controller.rb:71 | 12.58 | 8.0 | 22.58% | `BEGIN SELECT ? AS one FROM "matches" WHERE "matches"."expert_id" = ? AND "match…` |
| sql | app/models/expert.rb:256 | 56.0 | 1.0 | 12.57% | `SELECT "experts"."id" FROM "experts" LEFT OUTER JOIN "antennes" ON "antennes"."…` |
| gc | ruby/gc.c | 42.2 | 1.0 | 9.47% | `GC.start` |
| code | app/controllers/conseiller/diagnoses/steps_controller.rb:67 | 11.2 | 1.0 | 2.51% | `Conseiller::Diagnoses::StepsController#add_match` |
| view | app/views/conseiller/diagnoses/steps/_expert_content.html.haml | 3.29 | 2.8 | 2.06% |  |
| sql | app/views/conseiller/diagnoses/steps/_expert_content.html.haml:15 | 0.65 | 12.0 | 1.75% | `SELECT "institutions_subjects".* FROM "institutions_subjects" WHERE "institutio…` |
| sql | app/services/diagnosis_creation/find_relevant_expert_subjects.rb:36 | 7.8 | 1.0 | 1.75% | `SELECT "experts_subjects".* FROM "experts_subjects" INNER JOIN "experts" ON "ex…` |
| sql | app/models/expert_subject.rb:99 | 0.84 | 9.0 | 1.71% | `SELECT "match_filters".* FROM "match_filters" INNER JOIN "experts" ON "match_fi…` |
| view | app/views/conseiller/diagnoses/steps/_expert_subject_checkboxes.html.haml | 4.6 | 1.0 | 1.03% |  |

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