# Api::V1::GymsController#index

- **Period:** 27 Jun 09:48 UTC – 27 Jun 17:04 UTC
- **Throughput**: 0.27 / min
- **Average:** 34.6 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gyms_controller.rb:17 | 19.03 | 1.0 | 54.96% | `Api::V1::GymsController#index` |
| sql | app/controllers/api/v1/gyms_controller.rb:29 | 6.79 | 0.98 | 19.28% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 0.77 | 2.57 | 5.70% | `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.9 | 0.97 | 5.35% | `Rails::Engine#call` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 0.65 | 2.43 | 4.58% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/gym.rb:293 | 0.81 | 1.28 | 2.99% | `SELECT COUNT(*) FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `…` |
| sql | app/models/gym.rb:282 | 1.03 | 0.99 | 2.96% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/models/gym.rb:180 | 0.62 | 1.28 | 2.29% | `SELECT `gym_options`.* FROM `gym_options` WHERE `gym_options`.`gym_id` = ?` |

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