# Api::V1::CragRoutesController#index

- **Period:** 13 May 10:53 UTC – 13 May 11:08 UTC
- **Throughput**: 2.8 / min
- **Average:** 48.2 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/crag_routes_controller.rb:13 | 36.33 | 1.0 | 75.36% | `Api::V1::CragRoutesController#index` |
| sql | app/controllers/api/v1/crag_routes_controller.rb:156 | 2.01 | 1.71 | 7.16% | `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.5 | 1.0 | 5.19% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/crag_routes_controller.rb:164 | 1.57 | 1.0 | 3.26% | `SELECT `crag_sectors`.* FROM `crag_sectors` WHERE (`crag_sectors`.`deleted_at` …` |
| sql | app/controllers/api/v1/crag_routes_controller.rb:168 | 1.4 | 1.0 | 2.91% | `SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`d…` |
| sql | app/models/crag_route.rb:200 | 1.49 | 0.83 | 2.57% | `SELECT `crags`.* FROM `crags` WHERE (`crags`.`deleted_at` IS NULL OR `crags`.`d…` |
| sql | app/controllers/api/v1/crag_routes_controller.rb:172 | 0.98 | 1.0 | 2.02% | `SELECT `areas`.* FROM `areas` WHERE `areas`.`id` IS NULL LIMIT ?` |
| sql | app/controllers/api/v1/api_controller.rb:73 | 1.4 | 0.36 | 1.04% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |

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