# Api::V1::ContestsController#show

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

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/contests_controller.rb:44 | 16.71 | 1.0 | 59.68% | `Api::V1::ContestsController#show` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 1.9 | 1.0 | 6.78% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/contests_controller.rb:148 | 1.26 | 1.0 | 4.50% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/contest.rb:145 | 1.12 | 1.0 | 3.99% | `SELECT `contest_stages`.* FROM `contest_stages` WHERE `contest_stages`.`contest…` |
| sql | app/models/contest.rb:144 | 1.07 | 1.0 | 3.79% | `SELECT `contest_categories`.* FROM `contest_categories` WHERE `contest_categori…` |
| sql | app/controllers/api/v1/contests_controller.rb:152 | 1.02 | 1.0 | 3.64% | `SELECT `contests`.* FROM `contests` WHERE (`contests`.`deleted_at` IS NULL OR `…` |
| sql | app/models/contest.rb:146 | 0.94 | 1.0 | 3.36% | `SELECT `championships`.* FROM `championships` INNER JOIN `championship_contests…` |
| sql | app/models/contest.rb:148 | 0.83 | 1.0 | 2.97% | `SELECT `ffme_contests`.* FROM `ffme_contests` WHERE `ffme_contests`.`contest_id…` |
| sql | app/models/contest.rb:147 | 0.85 | 0.96 | 2.93% | `SELECT `contest_waves`.* FROM `contest_waves` WHERE `contest_waves`.`contest_id…` |
| sql | app/models/contest_category.rb:103 | 1.07 | 0.37 | 1.42% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `contests` ON `gyms`.`id` = `contests`.`…` |
| sql | app/models/contest_category.rb:97 | 1.02 | 0.37 | 1.35% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |
| sql | app/models/contest_category.rb:98 | 0.85 | 0.37 | 1.13% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |
| sql | app/models/contest_category.rb:96 | 0.85 | 0.37 | 1.13% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |

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