# Api::V1::GymRoutesController#index

- **Period:** 27 Jun 09:48 UTC – 27 Jun 17:10 UTC
- **Throughput**: 0.03 / min
- **Average:** 34.2 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_routes_controller.rb:16 | 19.93 | 1.0 | 58.28% | `Api::V1::GymRoutesController#index` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.07 | 1.0 | 6.04% | `Rails::Engine#call` |
| sql | app/models/gym_route.rb:243 | 0.58 | 3.2 | 5.46% | `SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE `gym_route_covers`.`i…` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.33 | 1.0 | 3.90% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/gym_route.rb:268 | 1.19 | 1.07 | 3.70% | `SELECT `gym_spaces`.* FROM `gym_spaces` INNER JOIN `gym_sectors` ON `gym_spaces…` |
| sql | app/models/gym_route.rb:48 | 1.13 | 1.07 | 3.51% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.06 | 1.07 | 3.31% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:79 | 1.07 | 1.0 | 3.12% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` IN (?) AND `gym…` |
| sql | app/models/gym_route.rb:132 | 1.0 | 1.07 | 3.12% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/models/gym_route.rb:215 | 0.88 | 1.07 | 2.73% | `SELECT `gym_openers`.* FROM `gym_openers` INNER JOIN `gym_route_openers` ON `gy…` |
| sql | app/models/gym_route.rb:238 | 0.81 | 1.07 | 2.53% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 0.69 | 1.07 | 2.14% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/gym_route.rb:102 | 0.69 | 1.07 | 2.14% | `SELECT `gym_levels`.* FROM `gym_levels` WHERE `gym_levels`.`gym_id` = ?` |

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