# Api::V1::GymsController#routes

- **Period:** 13 May 05:06 UTC – 13 May 11:06 UTC
- **Throughput**: 0.01 / min
- **Average:** 261.0 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gyms_controller.rb:239 | 190.0 | 1.0 | 72.80% | `Api::V1::GymsController#routes` |
| sql | app/models/gym_route.rb:61 | 1.64 | 7.0 | 4.41% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/gym_route.rb:143 | 1.43 | 7.0 | 3.83% | `SELECT `gym_spaces`.* FROM `gym_spaces` INNER JOIN `gym_sectors` ON `gym_spaces…` |
| sql | app/models/gym_route.rb:249 | 1.36 | 7.0 | 3.64% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/models/gym_route.rb:226 | 1.21 | 7.0 | 3.26% | `SELECT `gym_openers`.* FROM `gym_openers` INNER JOIN `gym_route_openers` ON `gy…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.07 | 7.0 | 2.87% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.0 | 7.0 | 2.68% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/controllers/api/v1/gyms_controller.rb:251 | 5.5 | 1.0 | 2.11% | `SELECT `gym_routes`.* FROM `gym_routes` INNER JOIN `gym_sectors` ON `gym_routes…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 3.5 | 1.0 | 1.34% | `Rails::Engine#call` |
| sql | app/models/gym_route.rb:254 | 0.14 | 21.0 | 1.15% | `SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE `gym_route_covers`.`i…` |

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