# Api::V1::ContestRoutesController#update

- **Period:** 26 Jun 20:16 UTC – 27 Jun 09:48 UTC
- **Throughput**: 0.01 / min
- **Average:** 40.3 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/contest_routes_controller.rb:35 | 21.83 | 1.0 | 54.24% | `Api::V1::ContestRoutesController#update` |
| sql | app/controllers/api/v1/contest_routes_controller.rb:36 | 1.27 | 4.0 | 12.63% | `BEGIN SELECT `contest_route_groups`.* FROM `contest_route_groups` WHERE `contes…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.0 | 1.0 | 4.97% | `Rails::Engine#call` |
| sql | app/models/contest_route.rb:80 | 1.17 | 1.0 | 2.90% | `SELECT `contests`.* FROM `contests` INNER JOIN `contest_stages` ON `contests`.`…` |
| sql | app/controllers/api/v1/api_controller.rb:26 | 1.08 | 1.0 | 2.69% | `SELECT `ip_black_lists`.* FROM `ip_black_lists` WHERE (block_expired_at <= NOW(…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.08 | 1.0 | 2.69% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/models/contest_service/result.rb:22 | 1.0 | 1.0 | 2.48% | `SELECT MAX(`contest_participant_ascents`.`registered_at`) FROM `contest_partici…` |
| sql | app/controllers/api/v1/contest_routes_controller.rb:97 | 1.0 | 1.0 | 2.48% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/contest_routes_controller.rb:101 | 1.0 | 1.0 | 2.48% | `SELECT `contests`.* FROM `contests` WHERE (`contests`.`deleted_at` IS NULL OR `…` |
| sql | app/controllers/concerns/gym_roles_verification.rb:17 | 0.92 | 1.0 | 2.28% | `SELECT `gym_administrators`.* FROM `gym_administrators` WHERE `gym_administrato…` |
| sql | app/controllers/api/v1/contest_routes_controller.rb:105 | 0.92 | 1.0 | 2.28% | `SELECT `contest_routes`.* FROM `contest_routes` INNER JOIN `contest_route_group…` |
| sql | app/models/contest_route.rb:79 | 0.92 | 1.0 | 2.28% | `SELECT `contest_stage_steps`.* FROM `contest_stage_steps` INNER JOIN `contest_r…` |
| sql | app/models/contest_route.rb:45 | 0.92 | 1.0 | 2.28% | `SELECT `contest_judges`.* FROM `contest_judges` INNER JOIN `contest_judge_route…` |
| sql | app/controllers/api/v1/contest_routes_controller.rb:113 | 0.83 | 1.0 | 2.07% | `SELECT COUNT(*) FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` =…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 0.5 | 1.0 | 1.24% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::ContestRoutesController%23update?range=2026-06-26+20%3A16%3A09+UTC..2026-06-27+09%3A48%3A53+UTC)