# Api::V1::GymsController#comments

- **Period:** 27 Jun 09:48 UTC – 27 Jun 17:01 UTC
- **Throughput**: 0.0 / min
- **Average:** 625.0 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gyms_controller.rb:378 | 311.0 | 1.0 | 49.76% | `Api::V1::GymsController#comments` |
| sql | app/controllers/api/v1/api_controller.rb:17 | 1.78 | 89.0 | 25.28% | `SELECT `comments`.* FROM (SELECT `comments`.* FROM `comments` INNER JOIN gym_ro…` |
| sql | app/models/gym_route.rb:132 | 1.0 | 36.0 | 5.76% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/models/gym_route.rb:128 | 1.28 | 18.0 | 3.68% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 0.79 | 29.0 | 3.68% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/ascent_gym_route.rb:102 | 1.1 | 20.0 | 3.52% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 0.84 | 25.0 | 3.36% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/serializers/ascent_gym_route_serializer.rb:33 | 0.8 | 20.0 | 2.56% | `SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = ? AND `…` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::GymsController%23comments?range=2026-06-27+09%3A48%3A53+UTC..2026-06-28+09%3A48%3A53+UTC)