# Api::V1::GymsController#index

- **Period:** 12 May 23:13 UTC – 13 May 11:13 UTC
- **Throughput**: 0.26 / min
- **Average:** 72.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| sql | app/controllers/api/v1/gyms_controller.rb:27 | 33.25 | 1.0 | 45.69% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| code | app/controllers/api/v1/gyms_controller.rb:17 | 27.84 | 1.0 | 38.24% | `Api::V1::GymsController#index` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.38 | 2.03 | 3.86% | `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.44 | 1.0 | 3.35% | `Rails::Engine#call` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.19 | 1.94 | 3.16% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/gym.rb:295 | 1.48 | 1.02 | 2.07% | `SELECT COUNT(*) FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `…` |
| sql | app/models/gym.rb:182 | 1.23 | 1.02 | 1.72% | `SELECT `gym_options`.* FROM `gym_options` WHERE `gym_options`.`gym_id` = ?` |
| sql | app/models/gym.rb:284 | 1.69 | 0.62 | 1.44% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |

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