# Api::V1::GymRoutesController#show

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

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_routes_controller.rb:204 | 13.5 | 1.0 | 55.10% | `Api::V1::GymRoutesController#show` |
| 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 | 10.20% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:421 | 2.0 | 1.0 | 8.16% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?` |
| sql | app/models/gym_route.rb:299 | 2.0 | 1.0 | 8.16% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:413 | 1.5 | 1.0 | 6.12% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.0 | 1.0 | 4.08% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/api_controller.rb:73 | 1.0 | 0.5 | 2.04% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/models/gym_route_ascents_mapper.rb:29 | 1.0 | 0.5 | 2.04% | `SELECT `ascents`.* FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`use…` |
| sql | app/models/gym_route_ascents_mapper.rb:26 | 1.0 | 0.5 | 2.04% | `SELECT COUNT(*) FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`user_i…` |
| sql | app/models/gym_route_ascents_mapper.rb:28 | 1.0 | 0.5 | 2.04% | `SELECT COUNT(*) FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`user_i…` |

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