# Api::V1::Statistics::GymRouteStatisticsController#routes_by_grades

- **Period:** 25 Jun 09:24 UTC – 25 Jun 21:23 UTC
- **Throughput**: 0.0 / min
- **Average:** 95.0 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| sql | app/models/statistics/gym_statistic.rb:58 | 54.67 | 1.0 | 57.54% | `SELECT `gym_routes`.* FROM `gym_routes` INNER JOIN `gym_sectors` ON `gym_routes…` |
| code | app/controllers/api/v1/statistics/gym_route_statistics_controller.rb:15 | 16.0 | 1.0 | 16.84% | `Api::V1::Statistics::GymRouteStatisticsController#routes_by_grades` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 6.33 | 1.0 | 6.67% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/controllers/concerns/gym_roles_verification.rb:13 | 5.67 | 1.0 | 5.96% | `SELECT ? AS one FROM `gym_administrators` WHERE `gym_administrators`.`gym_id` =…` |
| sql | app/controllers/concerns/gymable.rb:16 | 5.0 | 1.0 | 5.26% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/api_controller.rb:26 | 5.0 | 1.0 | 5.26% | `SELECT `ip_black_lists`.* FROM `ip_black_lists` WHERE (block_expired_at <= NOW(…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.33 | 1.0 | 2.46% | `Rails::Engine#call` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::Statistics::GymRouteStatisticsController%23routes_by_grades?range=12h)