# Api::V1::GymsController#comments

- **Period:** 26 Jun 20:16 UTC – 27 Jun 09:48 UTC
- **Throughput**: 0.0 / min
- **Average:** 617.0 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gyms_controller.rb:378 | 316.33 | 1.0 | 51.27% | `Api::V1::GymsController#comments` |
| sql | app/controllers/api/v1/api_controller.rb:17 | 1.7 | 89.0 | 24.53% | `SELECT `comments`.* FROM (SELECT `comments`.* FROM `comments` INNER JOIN gym_ro…` |
| sql | app/models/gym_route.rb:132 | 0.98 | 40.0 | 6.32% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 0.84 | 33.0 | 4.48% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/gym_route.rb:128 | 1.2 | 20.0 | 3.89% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/ascent_gym_route.rb:102 | 0.96 | 18.0 | 2.81% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/serializers/ascent_gym_route_serializer.rb:33 | 0.87 | 18.0 | 2.54% | `SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = ? AND `…` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 0.76 | 18.33 | 2.27% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |

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