# Api::V1::GymRoutesController#comments

- **Period:** 27 Jun 09:48 UTC – 27 Jun 17:07 UTC
- **Throughput**: 0.32 / min
- **Average:** 29.6 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_routes_controller.rb:343 | 14.65 | 1.0 | 49.53% | `Api::V1::GymRoutesController#comments` |
| sql | app/controllers/api/v1/api_controller.rb:17 | 0.94 | 2.77 | 8.84% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 2.07 | 1.17 | 8.19% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 0.85 | 2.74 | 7.90% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 1.89 | 1.0 | 6.40% | `Rails::Engine#call` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.3 | 1.0 | 4.40% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:349 | 0.88 | 1.43 | 4.23% | `SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = ? AND `…` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:348 | 1.09 | 1.0 | 3.69% | `SELECT `ascents`.* FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`gym…` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:345 | 0.99 | 1.0 | 3.36% | `SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = ? AND `…` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:421 | 0.99 | 1.0 | 3.33% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?` |

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