# Api::V1::ClimbingSessionsController#show

- **Period:** 12 May 11:12 UTC – 13 May 11:12 UTC
- **Throughput**: 0.18 / min
- **Average:** 183.7 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/climbing_sessions_controller.rb:151 | 103.87 | 1.0 | 56.56% | `Api::V1::ClimbingSessionsController#show` |
| sql | app/models/ascent_gym_route.rb:64 | 1.53 | 4.75 | 3.94% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/ascent_gym_route.rb:36 | 1.51 | 4.77 | 3.91% | `SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = ? AND `…` |
| sql | app/models/ascent_gym_route.rb:63 | 1.41 | 4.67 | 3.58% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?` |
| sql | app/models/gym_route.rb:59 | 1.97 | 2.52 | 2.70% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/gym_route.rb:254 | 1.22 | 3.62 | 2.40% | `SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE `gym_route_covers`.`i…` |
| sql | app/models/gym_route.rb:61 | 1.85 | 1.61 | 1.62% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.75 | 1.0 | 1.50% | `Rails::Engine#call` |
| sql | app/models/climbing_session.rb:97 | 1.25 | 1.95 | 1.33% | `SELECT `ascents`.`id` FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`…` |
| sql | app/models/gym_route.rb:143 | 1.7 | 1.37 | 1.27% | `SELECT `gym_spaces`.* FROM `gym_spaces` INNER JOIN `gym_sectors` ON `gym_spaces…` |
| sql | app/models/climbing_session.rb:91 | 2.3 | 0.97 | 1.22% | `SELECT MAX(`climbing_sessions`.`session_date`) FROM `climbing_sessions` WHERE `…` |
| sql | app/models/gym_route.rb:249 | 1.53 | 1.37 | 1.14% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.44 | 1.42 | 1.11% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/gym_route.rb:226 | 1.43 | 1.39 | 1.09% | `SELECT `gym_openers`.* FROM `gym_openers` INNER JOIN `gym_route_openers` ON `gy…` |

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