# Api::V1::AscentGymRoutesController#points

- **Period:** 12 May 11:04 UTC – 13 May 11:04 UTC
- **Throughput**: 0.2 / min
- **Average:** 399.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/ascent_gym_routes_controller.rb:56 | 233.82 | 1.0 | 58.49% | `Api::V1::AscentGymRoutesController#points` |
| sql | app/models/ascent_gym_route.rb:64 | 1.54 | 17.51 | 6.73% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/ascent_gym_route.rb:36 | 1.4 | 17.51 | 6.12% | `SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = ? AND `…` |
| sql | app/models/ascent_gym_route.rb:63 | 1.38 | 17.51 | 6.04% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?` |
| sql | app/models/gym_route.rb:59 | 1.74 | 11.2 | 4.88% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/controllers/api/v1/ascent_gym_routes_controller.rb:85 | 13.94 | 1.0 | 3.49% | `SELECT `ascents`.* FROM `ascents` INNER JOIN `gym_routes` ON `gym_routes`.`id` …` |
| sql | app/models/gym_route.rb:61 | 1.74 | 6.04 | 2.63% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/gym_route.rb:254 | 1.04 | 7.71 | 2.00% | `SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE `gym_route_covers`.`i…` |
| sql | app/models/gym_route.rb:143 | 1.75 | 2.92 | 1.28% | `SELECT `gym_spaces`.* FROM `gym_spaces` INNER JOIN `gym_sectors` ON `gym_spaces…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.32 | 3.3 | 1.09% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/gym_route.rb:249 | 1.43 | 2.92 | 1.05% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |

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