# Api::V1::GymRoutesController#index

- **Period:** 12 May 12:03 UTC – 13 May 12:03 UTC
- **Throughput**: 0.02 / min
- **Average:** 46.2 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_routes_controller.rb:16 | 28.87 | 1.0 | 62.46% | `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.78 | 1.0 | 6.02% | `Rails::Engine#call` |
| sql | app/models/gym_route.rb:59 | 2.27 | 0.96 | 4.70% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/gym_route.rb:143 | 1.77 | 1.13 | 4.33% | `SELECT `gym_spaces`.* FROM `gym_spaces` INNER JOIN `gym_sectors` ON `gym_spaces…` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.61 | 1.0 | 3.48% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.42 | 1.13 | 3.48% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/gym_route.rb:226 | 1.38 | 1.13 | 3.39% | `SELECT `gym_openers`.* FROM `gym_openers` INNER JOIN `gym_route_openers` ON `gy…` |
| sql | app/models/gym_route.rb:249 | 1.38 | 1.13 | 3.39% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:79 | 1.57 | 1.0 | 3.39% | `SELECT `gym_routes`.* FROM `gym_routes` INNER JOIN `gym_sectors` ON `gym_sector…` |
| sql | app/models/gym_route.rb:254 | 0.69 | 1.57 | 2.35% | `SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE `gym_route_covers`.`i…` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.17 | 0.52 | 1.32% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/gym_route.rb:113 | 0.42 | 1.13 | 1.03% | `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=1d)