# Api::V1::GymRoutesController#paginated

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

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_routes_controller.rb:84 | 50.82 | 1.0 | 64.33% | `Api::V1::GymRoutesController#paginated` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:142 | 3.18 | 6.42 | 25.81% | `SELECT `gym_routes`.* FROM `gym_routes` INNER JOIN `gym_sectors` ON `gym_routes…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.26 | 1.0 | 2.85% | `Rails::Engine#call` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.39 | 1.0 | 1.76% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/gym_route_ascents_mapper.rb:26 | 1.4 | 0.87 | 1.54% | `SELECT COUNT(*) FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`user_i…` |
| sql | app/controllers/api/v1/api_controller.rb:73 | 1.25 | 0.87 | 1.38% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |

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