# Api::V1::GymRoutesController#update

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

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_routes_controller.rb:231 | 37.0 | 1.0 | 60.66% | `Api::V1::GymRoutesController#update` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:232 | 1.0 | 7.0 | 11.48% | `BEGIN SELECT `gym_openers`.* FROM `gym_openers` WHERE `gym_openers`.`id` IN (?)` |
| 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 | 4.92% | `Rails::Engine#call` |
| sql | app/models/gym_route.rb:243 | 1.0 | 3.0 | 4.92% | `SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE `gym_route_covers`.`i…` |
| sql | app/models/gym_route.rb:426 | 2.0 | 1.0 | 3.28% | `SELECT `contest_routes`.* FROM `contest_routes` WHERE `contest_routes`.`gym_rou…` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:421 | 1.0 | 1.0 | 1.64% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?` |
| sql | app/models/gym_route.rb:48 | 1.0 | 1.0 | 1.64% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/gym_route.rb:132 | 1.0 | 1.0 | 1.64% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/controllers/concerns/gym_roles_verification.rb:17 | 1.0 | 1.0 | 1.64% | `SELECT `gym_administrators`.* FROM `gym_administrators` WHERE `gym_administrato…` |
| sql | app/controllers/api/v1/api_controller.rb:26 | 1.0 | 1.0 | 1.64% | `SELECT `ip_black_lists`.* FROM `ip_black_lists` WHERE (block_expired_at <= NOW(…` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.0 | 1.0 | 1.64% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:413 | 1.0 | 1.0 | 1.64% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:417 | 1.0 | 1.0 | 1.64% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/models/gym_route.rb:268 | 1.0 | 1.0 | 1.64% | `SELECT `gym_spaces`.* FROM `gym_spaces` INNER JOIN `gym_sectors` ON `gym_spaces…` |

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