# Api::Embedded::GymsController#show

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

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/embedded/gyms_controller.rb:8 | 78.5 | 1.0 | 64.21% | `Api::Embedded::GymsController#show` |
| sql | app/controllers/api/embedded/gyms_controller.rb:12 | 16.0 | 2.0 | 26.18% | `SELECT DISTINCT `gyms`.`id` FROM `gyms` LEFT OUTER JOIN `gym_spaces` ON `gym_sp…` |
| sql | app/models/gym_space.rb:164 | 0.81 | 4.0 | 2.66% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/gym_space.rb:167 | 0.63 | 4.0 | 2.04% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 1.5 | 1.0 | 1.23% | `Rails::Engine#call` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.5 | 1.0 | 1.23% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/controllers/api/embedded/gyms_controller.rb:43 | 1.25 | 1.0 | 1.02% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |

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