# Api::V1::GymSpacesController#show

- **Period:** 13 May 10:58 UTC – 13 May 11:13 UTC
- **Throughput**: 2.27 / min
- **Average:** 70.3 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_spaces_controller.rb:67 | 42.65 | 1.0 | 60.69% | `Api::V1::GymSpacesController#show` |
| sql | app/models/gym_sector.rb:60 | 1.4 | 4.44 | 8.83% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| sql | app/models/gym_space.rb:200 | 5.62 | 1.0 | 7.99% | `SELECT SUM(coalesce(level_index, ?)) AS ?, SUM(COALESCE(min_grade_value, ?)) AS…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 5.29 | 1.0 | 7.53% | `Rails::Engine#call` |
| sql | app/models/gym_space.rb:110 | 2.18 | 1.0 | 3.10% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.68 | 1.0 | 2.39% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/gym_space.rb:112 | 1.62 | 1.0 | 2.30% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/controllers/api/v1/gym_spaces_controller.rb:296 | 1.29 | 1.0 | 1.84% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/models/gym_space.rb:170 | 1.26 | 1.0 | 1.80% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/gym_space.rb:173 | 1.18 | 0.97 | 1.63% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |
| sql | app/models/gym_space.rb:204 | 1.39 | 0.68 | 1.34% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |

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