# Admin::MatchesController#index

- **Period:** 23 Jun 13:28 UTC – 24 Jun 13:02 UTC
- **Throughput**: 0.02 / min
- **Average:** 1020.5 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| sql | app/admin/patches/scopes.rb:7 | 171.65 | 3.0 | 50.46% | `SELECT COUNT(DISTINCT "matches"."id") FROM "matches" INNER JOIN "needs" ON "nee…` |
| view | vendor/bundle/ruby/4.0.0/gems/activeadmin-3.5.1/app/views/active_admin/resource/index.html.arb | 226.15 | 1.0 | 22.16% |  |
| sql | vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/notifications/fanout.rb:158 | 5.78 | 9.08 | 5.14% | `SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC …` |
| sql | app/admin/helpers/admin_link_to.rb:48 | 0.62 | 64.77 | 3.95% | `SELECT "users".* FROM "users" INNER JOIN "diagnoses" ON "users"."id" = "diagnos…` |
| sql | app/admin/match.rb:37 | 2.48 | 16.19 | 3.93% | `SELECT "solicitations".* FROM "solicitations" INNER JOIN "diagnoses" ON "solici…` |
| sql | app/models/need.rb:421 | 1.18 | 30.77 | 3.57% | `SELECT "companies".* FROM "companies" INNER JOIN "facilities" ON "companies"."i…` |
| sql | app/models/subject.rb:127 | 0.3 | 79.0 | 2.36% | `SELECT ? AS one FROM "cooperations" INNER JOIN "cooperation_themes" ON "coopera…` |
| gc | ruby/gc.c | 20.76 | 0.96 | 1.96% | `GC.start` |
| sql | app/models/need.rb:449 | 1.07 | 15.38 | 1.61% | `SELECT "cooperations".* FROM "cooperations" INNER JOIN "solicitations" ON "coop…` |
| sql | app/admin/match.rb:43 | 0.74 | 16.19 | 1.18% | `SELECT "facilities".* FROM "facilities" INNER JOIN "diagnoses" ON "facilities".…` |

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