# Api::V1::GymsController#gyms_around

- **Period:** 13 May 20:29 UTC – 13 May 21:29 UTC
- **Throughput**: 0.02 / min
- **Average:** 69.0 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| sql | app/controllers/api/v1/gyms_controller.rb:56 | 39.0 | 1.0 | 56.52% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| code | app/controllers/api/v1/gyms_controller.rb:53 | 15.0 | 1.0 | 21.74% | `Api::V1::GymsController#gyms_around` |
| sql | app/models/gym.rb:297 | 1.5 | 2.0 | 4.35% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.5 | 2.0 | 4.35% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/concerns/attachment_resizable.rb:12 | 1.0 | 2.0 | 2.90% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/gym.rb:284 | 2.0 | 1.0 | 2.90% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/models/gym.rb:295 | 2.0 | 1.0 | 2.90% | `SELECT COUNT(*) FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NULL OR `…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.0 | 1.0 | 2.90% | `Rails::Engine#call` |
| sql | app/models/gym.rb:182 | 1.0 | 1.0 | 1.45% | `SELECT `gym_options`.* FROM `gym_options` WHERE `gym_options`.`gym_id` = ?` |

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