# Api::V1::CragRoutesController#suggested_routes

- **Period:** 26 Jun 20:16 UTC – 27 Jun 09:48 UTC
- **Throughput**: 0.01 / min
- **Average:** 82.7 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/crag_routes_controller.rb:43 | 48.67 | 1.0 | 58.87% | `Api::V1::CragRoutesController#suggested_routes` |
| sql | app/controllers/api/v1/crag_routes_controller.rb:54 | 12.83 | 1.0 | 15.52% | `SELECT `crag_routes`.* FROM `crag_routes` WHERE (`crag_routes`.`deleted_at` IS …` |
| sql | app/models/crag_route.rb:200 | 1.05 | 6.67 | 8.47% | `SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`d…` |
| sql | app/models/crag_route.rb:199 | 0.98 | 6.67 | 7.86% | `SELECT `crag_sectors`.* FROM `crag_sectors` WHERE (`crag_sectors`.`deleted_at` …` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.83 | 1.0 | 3.43% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.33 | 1.0 | 1.61% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/controllers/api/v1/crag_routes_controller.rb:45 | 1.2 | 0.83 | 1.21% | `SELECT MIN(min_grade_value) AS min_grade_value, MAX(max_grade_value) AS max_gra…` |
| sql | app/controllers/api/v1/crag_routes_controller.rb:44 | 1.0 | 1.0 | 1.21% | `SELECT COUNT(*) FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`user_i…` |

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