# Api::V1::CragRoutesController#search

- **Period:** 27 Jun 09:48 UTC – 27 Jun 17:12 UTC
- **Throughput**: 0.32 / min
- **Average:** 58.6 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| sql | app/models/search.rb:24 | 43.98 | 0.84 | 63.02% | `SELECT `searches`.`index_id`, `searches`.`index_name` FROM `searches` WHERE (((…` |
| code | app/controllers/api/v1/crag_routes_controller.rb:57 | 14.11 | 1.0 | 24.07% | `Api::V1::CragRoutesController#search` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.0 | 1.0 | 3.41% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/crag_routes_controller.rb:164 | 1.13 | 1.0 | 1.92% | `SELECT `crag_sectors`.* FROM `crag_sectors` WHERE (`crag_sectors`.`deleted_at` …` |
| sql | app/controllers/api/v1/crag_routes_controller.rb:168 | 1.08 | 1.0 | 1.84% | `SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`d…` |
| sql | app/controllers/api/v1/api_controller.rb:73 | 0.92 | 0.89 | 1.40% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/models/crag_route.rb:200 | 0.97 | 0.81 | 1.33% | `SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`d…` |
| sql | app/models/crag_route.rb:199 | 0.96 | 0.8 | 1.30% | `SELECT `crag_sectors`.* FROM `crag_sectors` WHERE (`crag_sectors`.`deleted_at` …` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::CragRoutesController%23search?range=2026-06-27+09%3A48%3A53+UTC..2026-06-28+09%3A48%3A53+UTC)