# Api::V1::UsersController#videos

- **Period:** 12 May 11:12 UTC – 13 May 11:12 UTC
- **Throughput**: 0.04 / min
- **Average:** 40.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/users_controller.rb:48 | 22.06 | 1.0 | 54.09% | `Api::V1::UsersController#videos` |
| sql | app/models/video.rb:110 | 2.98 | 0.93 | 6.77% | `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 | 2.61 | 1.0 | 6.40% | `Rails::Engine#call` |
| sql | app/models/video.rb:88 | 1.47 | 1.35 | 4.86% | `SELECT `gym_routes`.* FROM `gym_routes` WHERE `gym_routes`.`id` = ? LIMIT ?` |
| sql | app/controllers/api/v1/users_controller.rb:155 | 1.93 | 1.0 | 4.72% | `SELECT `users`.* FROM `users` WHERE `users`.`uuid` = ? LIMIT ?` |
| sql | app/models/gym_route.rb:254 | 1.11 | 1.39 | 3.77% | `SELECT `gym_route_covers`.* FROM `gym_route_covers` WHERE `gym_route_covers`.`i…` |
| sql | app/controllers/api/v1/users_controller.rb:51 | 1.48 | 1.0 | 3.63% | `SELECT `videos`.* FROM `videos` WHERE `videos`.`user_id` = ? ORDER BY `videos`.…` |
| sql | app/models/video.rb:39 | 1.26 | 0.93 | 2.86% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/video.rb:41 | 1.1 | 0.93 | 2.50% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/gym_route.rb:61 | 1.84 | 0.46 | 2.09% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/gym_route.rb:143 | 1.72 | 0.46 | 1.95% | `SELECT `gym_spaces`.* FROM `gym_spaces` INNER JOIN `gym_sectors` ON `gym_spaces…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.29 | 0.52 | 1.63% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/gym_route.rb:226 | 1.36 | 0.46 | 1.54% | `SELECT `gym_openers`.* FROM `gym_openers` INNER JOIN `gym_route_openers` ON `gy…` |
| sql | app/models/gym_route.rb:249 | 1.32 | 0.46 | 1.50% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.18 | 0.52 | 1.50% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |

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