# Api::V1::ContestRouteGroupsController#destroy

- **Period:** 13 May 09:24 UTC – 13 May 21:24 UTC
- **Throughput**: 0.0 / min
- **Average:** 85.0 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/contest_route_groups_controller.rb:57 | 44.0 | 1.0 | 51.76% | `Api::V1::ContestRouteGroupsController#destroy` |
| sql | app/controllers/api/v1/contest_route_groups_controller.rb:58 | 1.32 | 11.0 | 17.06% | `BEGIN SELECT `contest_route_group_categories`.* FROM `contest_route_group_categ…` |
| sql | app/models/contest_service/result.rb:22 | 1.17 | 3.0 | 4.12% | `SELECT MAX(`contest_participant_ascents`.`registered_at`) FROM `contest_partici…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 3.0 | 1.0 | 3.53% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/contest_route_groups_controller.rb:92 | 2.0 | 1.0 | 2.35% | `SELECT COUNT(*) FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` =…` |
| sql | app/models/contest_route.rb:80 | 2.0 | 1.0 | 2.35% | `SELECT `contests`.* FROM `contests` INNER JOIN `contest_stages` ON `contests`.`…` |
| sql | app/controllers/api/v1/contest_route_groups_controller.rb:68 | 1.5 | 1.0 | 1.76% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/contest_route_groups_controller.rb:72 | 1.5 | 1.0 | 1.76% | `SELECT `contests`.* FROM `contests` WHERE (`contests`.`deleted_at` IS NULL OR `…` |
| sql | app/controllers/api/v1/contest_route_groups_controller.rb:76 | 1.5 | 1.0 | 1.76% | `SELECT `contest_stages`.* FROM `contest_stages` WHERE `contest_stages`.`contest…` |
| sql | app/controllers/api/v1/contest_route_groups_controller.rb:80 | 1.5 | 1.0 | 1.76% | `SELECT `contest_stage_steps`.* FROM `contest_stage_steps` WHERE `contest_stage_…` |
| sql | app/models/contest_route.rb:79 | 1.5 | 1.0 | 1.76% | `SELECT `contest_stage_steps`.* FROM `contest_stage_steps` INNER JOIN `contest_r…` |
| sql | app/controllers/concerns/gym_roles_verification.rb:17 | 1.5 | 1.0 | 1.76% | `SELECT `gym_administrators`.* FROM `gym_administrators` WHERE `gym_administrato…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.5 | 1.0 | 1.76% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/controllers/api/v1/api_controller.rb:26 | 1.5 | 1.0 | 1.76% | `SELECT `ip_black_lists`.* FROM `ip_black_lists` WHERE (block_expired_at <= NOW(…` |
| sql | app/models/contest_route_group.rb:90 | 1.5 | 1.0 | 1.76% | `SELECT `contests`.* FROM `contests` INNER JOIN `contest_stages` ON `contests`.`…` |
| sql | app/models/contest_route_group_category.rb:14 | 1.5 | 1.0 | 1.76% | `SELECT `contests`.* FROM `contests` INNER JOIN `contest_categories` ON `contest…` |
| sql | app/controllers/api/v1/contest_route_groups_controller.rb:84 | 1.0 | 1.0 | 1.18% | `SELECT `contest_route_groups`.* FROM `contest_route_groups` WHERE `contest_rout…` |

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