# Api::V1::GymsController#routes

- **Period:** 27 Jun 09:48 UTC – 27 Jun 17:08 UTC
- **Throughput**: 0.01 / min
- **Average:** 969.7 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gyms_controller.rb:241 | 445.67 | 1.0 | 45.96% | `Api::V1::GymsController#routes` |
| sql | app/models/gym_route.rb:48 | 0.77 | 99.67 | 7.94% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/gym_route.rb:268 | 0.76 | 99.67 | 7.80% | `SELECT `gym_spaces`.* FROM `gym_spaces` INNER JOIN `gym_sectors` ON `gym_spaces…` |
| sql | app/models/gym_route.rb:132 | 0.69 | 99.67 | 7.12% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 0.64 | 99.67 | 6.57% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/gym_route.rb:215 | 0.62 | 99.67 | 6.39% | `SELECT `gym_openers`.* FROM `gym_openers` INNER JOIN `gym_route_openers` ON `gy…` |
| sql | app/models/gym_route.rb:238 | 0.62 | 99.67 | 6.36% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/models/gym_route.rb:243 | 0.19 | 164.0 | 3.27% | `SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE `gym_route_covers`.`i…` |
| cache | app/models/gym_route.rb:208 | 0.15 | 199.33 | 3.09% | `read write` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 0.51 | 54.67 | 2.85% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::GymsController%23routes?range=2026-06-27+09%3A48%3A53+UTC..2026-06-28+09%3A48%3A53+UTC)