# Api::V1::GymRoutesController#paginated

- **Period:** 12 May 11:08 UTC – 13 May 11:08 UTC
- **Throughput**: 4.49 / min
- **Average:** 106.2 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_routes_controller.rb:84 | 67.14 | 1.0 | 63.21% | `Api::V1::GymRoutesController#paginated` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:142 | 5.01 | 5.73 | 27.04% | `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.86 | 1.0 | 2.70% | `Rails::Engine#call` |
| sql | app/models/gym_route_ascents_mapper.rb:26 | 2.17 | 0.86 | 1.75% | `SELECT COUNT(*) FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`user_i…` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.84 | 1.0 | 1.74% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/api_controller.rb:73 | 1.8 | 0.86 | 1.45% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:413 | 1.53 | 0.77 | 1.10% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |

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