# Api::V1::AscentGymRoutesController#destroy

- **Period:** 13 May 08:08 UTC – 13 May 11:08 UTC
- **Throughput**: 0.03 / min
- **Average:** 41.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/ascent_gym_routes_controller.rb:226 | 17.8 | 1.0 | 42.58% | `Api::V1::AscentGymRoutesController#destroy` |
| sql | app/controllers/api/v1/ascent_gym_routes_controller.rb:227 | 1.5 | 4.0 | 14.35% | `BEGIN SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = ?…` |
| sql | app/models/gym_route.rb:187 | 1.33 | 2.4 | 7.66% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.2 | 1.0 | 5.26% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/api_controller.rb:26 | 1.8 | 1.0 | 4.31% | `SELECT `ip_black_lists`.* FROM `ip_black_lists` WHERE (block_expired_at <= NOW(…` |
| sql | app/controllers/api/v1/ascent_gym_routes_controller.rb:240 | 1.8 | 1.0 | 4.31% | `SELECT `ascents`.* FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`use…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.6 | 1.0 | 3.83% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/controllers/api/v1/ascent_gym_routes_controller.rb:250 | 1.4 | 1.0 | 3.35% | `SELECT `ascents`.* FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`id`…` |
| sql | app/models/ascent_gym_route.rb:123 | 1.4 | 1.0 | 3.35% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?` |
| sql | app/models/ascent.rb:66 | 1.2 | 1.0 | 2.87% | `SELECT `climbing_sessions`.* FROM `climbing_sessions` WHERE `climbing_sessions`…` |
| sql | app/models/gym_route.rb:437 | 1.2 | 1.0 | 2.87% | `SELECT `contest_routes`.* FROM `contest_routes` WHERE `contest_routes`.`gym_rou…` |
| sql | app/models/climbing_session.rb:133 | 1.0 | 1.0 | 2.39% | `SELECT COUNT(*) FROM `ascents` WHERE `ascents`.`climbing_session_id` = ?` |
| sql | app/models/gym_route.rb:161 | 1.0 | 1.0 | 2.39% | `SELECT `ascents`.`hardness_status`, `ascents`.`ascent_status`, `ascents`.`user_…` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::AscentGymRoutesController%23destroy?range=3h)