# Api::V1::GymSectorsController#last_routes_with_pictures

- **Period:** 26 Jun 20:16 UTC – 27 Jun 09:48 UTC
- **Throughput**: 0.01 / min
- **Average:** 18.5 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_sectors_controller.rb:82 | 8.75 | 1.0 | 47.30% | `Api::V1::GymSectorsController#last_routes_with_pictures` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 1.63 | 1.0 | 8.78% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/gym_sectors_controller.rb:84 | 1.5 | 1.0 | 8.11% | `SELECT DISTINCT `gym_routes`.`gym_route_cover_id` FROM `gym_routes` WHERE `gym_…` |
| sql | app/controllers/api/v1/gym_sectors_controller.rb:103 | 1.25 | 1.0 | 6.76% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.25 | 1.0 | 6.76% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/controllers/concerns/gym_roles_verification.rb:13 | 1.13 | 1.0 | 6.08% | `SELECT ? AS one FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` =…` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.13 | 1.0 | 6.08% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/gym_sectors_controller.rb:107 | 0.88 | 1.0 | 4.73% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/controllers/api/v1/gym_sectors_controller.rb:88 | 0.75 | 1.0 | 4.05% | `SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE (`gym_route_covers`.`…` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::GymSectorsController%23last_routes_with_pictures?range=2026-06-26+20%3A16%3A09+UTC..2026-06-27+09%3A48%3A53+UTC)