# Api::V1::GymSpacesController#show

- **Period:** 12 May 11:06 UTC – 13 May 11:06 UTC
- **Throughput**: 1.18 / min
- **Average:** 67.2 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_spaces_controller.rb:67 | 42.18 | 1.0 | 62.79% | `Api::V1::GymSpacesController#show` |
| sql | app/models/gym_space.rb:200 | 5.99 | 1.0 | 8.92% | `SELECT SUM(coalesce(level_index, ?)) AS ?, SUM(COALESCE(min_grade_value, ?)) AS…` |
| sql | app/models/gym_sector.rb:60 | 1.64 | 2.97 | 7.28% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `gym_spaces` ON `gyms`.`id` = `gym_space…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.69 | 1.0 | 4.01% | `Rails::Engine#call` |
| sql | app/models/gym_space.rb:110 | 2.34 | 1.0 | 3.48% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/models/gym_space.rb:112 | 1.78 | 1.0 | 2.65% | `SELECT `gym_sectors`.* FROM `gym_sectors` WHERE (`gym_sectors`.`deleted_at` IS …` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.77 | 1.0 | 2.63% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/gym_spaces_controller.rb:296 | 1.55 | 1.0 | 2.31% | `SELECT `gym_spaces`.* FROM `gym_spaces` WHERE (`gym_spaces`.`deleted_at` IS NUL…` |
| sql | app/models/gym_space.rb:170 | 1.4 | 1.0 | 2.08% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/gym_space.rb:204 | 1.67 | 0.62 | 1.53% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/gym_space.rb:173 | 1.25 | 0.8 | 1.48% | `SELECT `active_storage_blobs`.* FROM `active_storage_blobs` WHERE `active_stora…` |

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