# Api::V1::GymRoutesController#paginated

- **Period:** 13 May 11:00 UTC – 13 May 11:15 UTC
- **Throughput**: 8.87 / min
- **Average:** 114.1 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_routes_controller.rb:84 | 73.5 | 1.0 | 64.41% | `Api::V1::GymRoutesController#paginated` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:142 | 4.88 | 6.32 | 27.03% | `SELECT DISTINCT gym_sectors.order, gym_sectors.name, gym_sectors.id, 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.99 | 1.0 | 2.62% | `Rails::Engine#call` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.79 | 1.0 | 1.57% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/gym_route_ascents_mapper.rb:26 | 2.08 | 0.83 | 1.51% | `SELECT COUNT(*) FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`user_i…` |
| sql | app/controllers/api/v1/api_controller.rb:73 | 1.76 | 0.83 | 1.28% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::GymRoutesController%23paginated?range=15m)