# Api::V1::GymSpacesController#groups

- **Period:** 26 Jun 20:16 UTC – 27 Jun 09:48 UTC
- **Throughput**: 0.53 / min
- **Average:** 33.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_spaces_controller.rb:24 | 17.44 | 1.0 | 51.58% | `Api::V1::GymSpacesController#groups` |
| sql | app/models/gym_space.rb:92 | 2.62 | 4.0 | 31.05% | `SELECT MAX(opened_at) AS max_opened_at, COUNT(*) AS routes_count FROM `gym_rout…` |
| sql | app/controllers/api/v1/gym_spaces_controller.rb:31 | 1.96 | 1.0 | 5.78% | `SELECT `gym_spaces`.* FROM `gym_spaces` LEFT JOIN gym_space_groups ON gym_space…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 1.89 | 1.0 | 5.56% | `Rails::Engine#call` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.39 | 1.0 | 4.11% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/gym_spaces_controller.rb:37 | 0.95 | 0.51 | 1.43% | `SELECT `gym_space_groups`.* FROM `gym_space_groups` WHERE `gym_space_groups`.`i…` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::GymSpacesController%23groups?range=2026-06-26+20%3A16%3A09+UTC..2026-06-27+09%3A48%3A53+UTC)