# Api::V1::GymRoutesController#comments

- **Period:** 13 May 09:31 UTC – 13 May 10:31 UTC
- **Throughput**: 0.57 / min
- **Average:** 37.1 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_routes_controller.rb:343 | 16.85 | 1.0 | 45.37% | `Api::V1::GymRoutesController#comments` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 3.76 | 1.0 | 10.13% | `Rails::Engine#call` |
| sql | app/controllers/concerns/gymable.rb:16 | 3.47 | 1.0 | 9.34% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/api_controller.rb:17 | 1.34 | 2.0 | 7.21% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.16 | 1.97 | 6.18% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:349 | 1.29 | 1.74 | 6.02% | `SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = ? AND `…` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.15 | 1.41 | 4.35% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:348 | 1.62 | 1.0 | 4.35% | `SELECT `ascents`.* FROM `ascents` WHERE `ascents`.`type` = ? AND `ascents`.`gym…` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:421 | 1.38 | 1.0 | 3.72% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?` |
| sql | app/controllers/api/v1/gym_routes_controller.rb:345 | 1.24 | 1.0 | 3.33% | `SELECT `comments`.* FROM `comments` WHERE `comments`.`commentable_id` = ? AND `…` |

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