# Api::V1::CragRoutesController#index

- **Period:** 13 May 10:38 UTC – 13 May 11:08 UTC
- **Throughput**: 2.73 / min
- **Average:** 51.3 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/crag_routes_controller.rb:13 | 38.4 | 1.0 | 74.85% | `Api::V1::CragRoutesController#index` |
| sql | app/controllers/api/v1/crag_routes_controller.rb:156 | 1.83 | 2.52 | 8.99% | `SELECT `crag_routes`.* FROM `crag_routes` WHERE (`crag_routes`.`deleted_at` IS …` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.61 | 1.0 | 5.09% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/crag_routes_controller.rb:164 | 1.57 | 1.0 | 3.07% | `SELECT `crag_sectors`.* FROM `crag_sectors` WHERE (`crag_sectors`.`deleted_at` …` |
| sql | app/controllers/api/v1/crag_routes_controller.rb:168 | 1.46 | 1.0 | 2.85% | `SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`d…` |
| sql | app/controllers/api/v1/crag_routes_controller.rb:172 | 1.04 | 1.0 | 2.02% | `SELECT `areas`.* FROM `areas` WHERE `areas`.`id` IS NULL LIMIT ?` |
| sql | app/controllers/api/v1/api_controller.rb:73 | 1.56 | 0.52 | 1.59% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/models/crag_route.rb:200 | 1.46 | 0.45 | 1.28% | `SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`d…` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::CragRoutesController%23index?range=30m)