# Api::V1::GymSectorsController#dismount_routes

- **Period:** 12 May 12:05 UTC – 13 May 12:05 UTC
- **Throughput**: 0.02 / min
- **Average:** 119.7 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_sectors_controller.rb:76 | 51.04 | 1.0 | 42.64% | `Api::V1::GymSectorsController#dismount_routes` |
| sql | app/models/gym_route.rb:126 | 1.81 | 24.67 | 37.31% | `BEGIN SELECT `active_storage_attachments`.* FROM `active_storage_attachments` W…` |
| sql | app/models/gym_route.rb:437 | 1.59 | 4.96 | 6.59% | `SELECT `contest_routes`.* FROM `contest_routes` WHERE `contest_routes`.`gym_rou…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.78 | 1.0 | 2.32% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/gym_sectors_controller.rb:78 | 2.38 | 0.96 | 1.92% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`dismounted_at` IS N…` |
| sql | app/controllers/api/v1/api_controller.rb:26 | 1.74 | 1.0 | 1.45% | `SELECT `ip_black_lists`.* FROM `ip_black_lists` WHERE (block_expired_at <= NOW(…` |
| sql | app/controllers/concerns/gym_roles_verification.rb:13 | 1.74 | 1.0 | 1.45% | `SELECT ? AS one FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` =…` |
| sql | app/controllers/api/v1/gym_sectors_controller.rb:107 | 1.63 | 1.0 | 1.36% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.63 | 1.0 | 1.36% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/concerns/gym_roles_verification.rb:17 | 1.59 | 1.0 | 1.33% | `SELECT `gym_administrators`.* FROM `gym_administrators` WHERE `gym_administrato…` |
| sql | app/controllers/api/v1/gym_sectors_controller.rb:103 | 1.37 | 1.0 | 1.14% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.3 | 1.0 | 1.08% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |

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