# Api::V1::GymsController#index

- **Period:** 13 May 10:36 UTC – 13 May 11:06 UTC
- **Throughput**: 0.4 / min
- **Average:** 68.2 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gyms_controller.rb:17 | 31.42 | 1.0 | 46.09% | `Api::V1::GymsController#index` |
| sql | app/controllers/api/v1/gyms_controller.rb:27 | 20.17 | 1.0 | 29.58% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.1 | 3.33 | 5.38% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 0.98 | 3.33 | 4.77% | `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.67 | 1.0 | 3.91% | `Rails::Engine#call` |
| sql | app/models/gym.rb:284 | 1.67 | 1.5 | 3.67% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/models/gym.rb:295 | 1.3 | 1.67 | 3.18% | `SELECT COUNT(*) FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `…` |
| sql | app/models/gym.rb:182 | 1.05 | 1.67 | 2.57% | `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=30m)