# Api::V1::AscentGymRoutesController#points

- **Period:** 13 May 09:28 UTC – 13 May 10:28 UTC
- **Throughput**: 0.32 / min
- **Average:** 248.5 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/ascent_gym_routes_controller.rb:56 | 138.53 | 1.0 | 55.75% | `Api::V1::AscentGymRoutesController#points` |
| sql | app/models/ascent_gym_route.rb:64 | 1.32 | 13.16 | 7.01% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/ascent_gym_route.rb:63 | 1.31 | 13.16 | 6.95% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?` |
| sql | app/controllers/api/v1/ascent_gym_routes_controller.rb:85 | 16.68 | 1.0 | 6.71% | `SELECT `ascents`.* FROM `ascents` INNER JOIN `gym_routes` ON `gym_routes`.`id` …` |
| sql | app/models/ascent_gym_route.rb:36 | 1.23 | 13.16 | 6.50% | `SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = ? AND `…` |
| sql | app/models/gym_route.rb:59 | 1.61 | 8.53 | 5.53% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/gym_route.rb:61 | 1.45 | 3.95 | 2.31% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.79 | 1.0 | 1.12% | `Rails::Engine#call` |

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