# Api::V1::AscentGymRoutesController#points

- **Period:** 13 May 05:06 UTC – 13 May 11:06 UTC
- **Throughput**: 0.19 / min
- **Average:** 358.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/ascent_gym_routes_controller.rb:56 | 211.34 | 1.0 | 58.90% | `Api::V1::AscentGymRoutesController#points` |
| sql | app/models/ascent_gym_route.rb:64 | 1.38 | 17.21 | 6.64% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/ascent_gym_route.rb:63 | 1.31 | 17.21 | 6.30% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?` |
| sql | app/models/ascent_gym_route.rb:36 | 1.27 | 17.21 | 6.11% | `SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = ? AND `…` |
| sql | app/models/gym_route.rb:59 | 1.6 | 12.75 | 5.68% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/controllers/api/v1/ascent_gym_routes_controller.rb:85 | 14.47 | 1.0 | 4.03% | `SELECT `ascents`.* FROM `ascents` INNER JOIN `gym_routes` ON `gym_routes`.`id` …` |
| sql | app/models/gym_route.rb:61 | 1.49 | 3.69 | 1.54% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/gym_route.rb:143 | 2.36 | 2.19 | 1.44% | `SELECT `gym_spaces`.* FROM `gym_spaces` INNER JOIN `gym_sectors` ON `gym_spaces…` |
| sql | app/models/gym_route.rb:254 | 1.03 | 4.41 | 1.27% | `SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE `gym_route_covers`.`i…` |

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