# Api::V1::GymsController#index

- **Period:** 13 May 08:06 UTC – 13 May 11:06 UTC
- **Throughput**: 0.64 / min
- **Average:** 74.0 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| sql | app/controllers/api/v1/gyms_controller.rb:27 | 35.41 | 1.0 | 47.84% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| code | app/controllers/api/v1/gyms_controller.rb:17 | 27.4 | 1.0 | 37.01% | `Api::V1::GymsController#index` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.36 | 1.98 | 3.63% | `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.45 | 1.0 | 3.31% | `Rails::Engine#call` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.12 | 1.91 | 2.89% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/gym.rb:295 | 1.43 | 0.99 | 1.92% | `SELECT COUNT(*) FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `…` |
| sql | app/models/gym.rb:182 | 1.17 | 0.99 | 1.56% | `SELECT `gym_options`.* FROM `gym_options` WHERE `gym_options`.`gym_id` = ?` |
| sql | app/models/gym.rb:284 | 1.72 | 0.61 | 1.42% | `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=3h)