# Api::V1::GymsController#index

- **Period:** 12 May 11:18 UTC – 13 May 11:18 UTC
- **Throughput**: 0.32 / min
- **Average:** 79.0 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| sql | app/controllers/api/v1/gyms_controller.rb:27 | 37.43 | 1.0 | 47.41% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| code | app/controllers/api/v1/gyms_controller.rb:17 | 28.59 | 1.0 | 36.20% | `Api::V1::GymsController#index` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.4 | 2.16 | 3.84% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.22 | 2.08 | 3.22% | `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 | 2.51 | 1.0 | 3.18% | `Rails::Engine#call` |
| sql | app/models/gym.rb:295 | 1.54 | 1.08 | 2.11% | `SELECT COUNT(*) FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `…` |
| sql | app/models/gym.rb:182 | 1.3 | 1.08 | 1.78% | `SELECT `gym_options`.* FROM `gym_options` WHERE `gym_options`.`gym_id` = ?` |
| sql | app/models/gym.rb:284 | 1.79 | 0.76 | 1.72% | `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=1d)