# Api::V1::GymRoutesController#index

- **Period:** 12 May 23:14 UTC – 13 May 11:14 UTC
- **Throughput**: 0.01 / min
- **Average:** 85.1 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_routes_controller.rb:16 | 56.43 | 1.0 | 66.28% | `Api::V1::GymRoutesController#index` |
| sql | app/models/gym_route.rb:143 | 1.71 | 2.43 | 4.87% | `SELECT `gym_spaces`.* FROM `gym_spaces` INNER JOIN `gym_sectors` ON `gym_spaces…` |
| sql | app/models/gym_route.rb:59 | 2.0 | 2.0 | 4.70% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/gym_route.rb:226 | 1.47 | 2.43 | 4.19% | `SELECT `gym_openers`.* FROM `gym_openers` INNER JOIN `gym_route_openers` ON `gy…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.41 | 2.43 | 4.03% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/gym_route.rb:249 | 1.29 | 2.43 | 3.69% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.86 | 1.0 | 3.36% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:79 | 2.14 | 1.0 | 2.52% | `SELECT `gym_routes`.* FROM `gym_routes` INNER JOIN `gym_sectors` ON `gym_sector…` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.86 | 1.0 | 2.18% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/gym_route.rb:254 | 1.22 | 1.29 | 1.85% | `SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE `gym_route_covers`.`i…` |
| sql | app/models/gym_route.rb:113 | 0.35 | 2.43 | 1.01% | `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=12h)