# Api::V1::GymsController#index

- **Period:** 13 May 10:57 UTC – 13 May 11:12 UTC
- **Throughput**: 0.67 / min
- **Average:** 65.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| sql | app/controllers/api/v1/gyms_controller.rb:27 | 28.9 | 1.0 | 43.92% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| code | app/controllers/api/v1/gyms_controller.rb:17 | 26.3 | 1.0 | 39.97% | `Api::V1::GymsController#index` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.8 | 1.0 | 4.26% | `Rails::Engine#call` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.17 | 1.8 | 3.19% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.06 | 1.8 | 2.89% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/gym.rb:284 | 1.86 | 0.7 | 1.98% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/models/gym.rb:182 | 1.22 | 0.9 | 1.67% | `SELECT `gym_options`.* FROM `gym_options` WHERE `gym_options`.`gym_id` = ?` |
| sql | app/models/gym.rb:295 | 1.22 | 0.9 | 1.67% | `SELECT COUNT(*) FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `…` |

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