# Api::V1::ContestCategoriesController#index

- **Period:** 13 May 08:12 UTC – 13 May 11:12 UTC
- **Throughput**: 0.07 / min
- **Average:** 19.3 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/contest_categories_controller.rb:15 | 10.08 | 1.0 | 52.16% | `Api::V1::ContestCategoriesController#index` |
| 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 | 12.07% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/contest_categories_controller.rb:57 | 1.83 | 1.0 | 9.48% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/contest_categories_controller.rb:61 | 1.58 | 1.0 | 8.19% | `SELECT `contests`.* FROM `contests` WHERE (`contests`.`deleted_at` IS NULL OR `…` |
| sql | app/controllers/api/v1/contest_categories_controller.rb:16 | 1.58 | 1.0 | 8.19% | `SELECT `contest_categories`.* FROM `contest_categories` WHERE `contest_categori…` |
| sql | app/models/contest_category.rb:103 | 2.33 | 0.25 | 3.02% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `contests` ON `gyms`.`id` = `contests`.`…` |
| sql | app/models/contest_category.rb:96 | 2.0 | 0.25 | 2.59% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |
| sql | app/models/contest_category.rb:97 | 1.67 | 0.25 | 2.16% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |
| sql | app/models/contest_category.rb:98 | 1.67 | 0.25 | 2.16% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::ContestCategoriesController%23index?range=3h)