# Topics::SearchesController#index

- **Period:** 12 Jun 11:43 UTC – 12 Jun 16:40 UTC
- **Throughput**: 0.23 / min
- **Average:** 30.9 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/topics/searches_controller.rb:4 | 6.0 | 1.0 | 19.39% | `Topics::SearchesController#index` |
| sql | app/views/layouts/application.html.erb:237 | 1.4 | 2.91 | 13.17% | `SELECT "essays".* FROM "essays" WHERE "essays"."status" = ? ORDER BY "essays"."…` |
| sql | app/views/topics/searches/index.html.erb:69 | 3.79 | 0.99 | 12.06% | `SELECT DISTINCT topics.*, pg_search_f013aa4b8daf3e2242eafa.rank AS pg_search_ra…` |
| sql | app/views/layouts/application.html.erb:249 | 3.7 | 1.0 | 11.96% | `SELECT categories.*, sum(essays.hits_nb) as hits_sum FROM "categories" INNER JO…` |
| view | app/views/topics/searches/index.html.erb | 2.67 | 1.0 | 8.64% |  |
| sql | app/views/topics/searches/index.html.erb:77 | 8.5 | 0.3 | 8.20% | `SELECT COUNT(*) FROM (SELECT DISTINCT topics.*, pg_search_f013aa4b8daf3e2242eaf…` |
| sql | app/views/topics/searches/index.html.erb:5 | 3.9 | 0.45 | 5.64% | `SELECT DISTINCT "topics".* FROM "topics" INNER JOIN "essays" ON "essays"."topic…` |
| queue | queue | 1.43 | 1.0 | 4.63% |  |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/warden-1.2.9/lib/warden/manager.rb:30 | 0.67 | 0.96 | 2.07% | `Warden::Manager` |
| gc | ruby/gc.c | 1.78 | 0.34 | 1.98% | `GC.start` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135493/requests/Topics::SearchesController%23index?range=2026-06-12+11%3A43%3A42+UTC..2026-06-12+16%3A40%3A16+UTC)