# Api::V1::GymSpacesController#groups

- **Period:** 13 May 10:34 UTC – 13 May 11:04 UTC
- **Throughput**: 2.87 / min
- **Average:** 45.4 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/gym_spaces_controller.rb:24 | 21.8 | 1.0 | 48.05% | `Api::V1::GymSpacesController#groups` |
| sql | app/models/gym_space.rb:98 | 3.47 | 4.03 | 30.88% | `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 | 4.4 | 1.0 | 9.69% | `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 | 2.52 | 1.0 | 5.56% | `Rails::Engine#call` |
| sql | app/controllers/concerns/gymable.rb:16 | 1.95 | 1.0 | 4.31% | `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%23groups?range=30m)