# Api::V1::ContestsController#show

- **Period:** 27 Jun 09:48 UTC – 27 Jun 16:54 UTC
- **Throughput**: 0.72 / min
- **Average:** 30.7 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/contests_controller.rb:44 | 18.37 | 1.0 | 59.78% | `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.95 | 0.99 | 6.29% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/contests_controller.rb:148 | 1.23 | 1.0 | 4.01% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/controllers/api/v1/contests_controller.rb:152 | 1.01 | 1.0 | 3.30% | `SELECT `contests`.* FROM `contests` WHERE (`contests`.`deleted_at` IS NULL OR `…` |
| sql | app/models/contest.rb:144 | 0.99 | 1.0 | 3.21% | `SELECT `contest_categories`.* FROM `contest_categories` WHERE `contest_categori…` |
| sql | app/models/contest.rb:146 | 0.93 | 1.0 | 3.03% | `SELECT `championships`.* FROM `championships` INNER JOIN `championship_contests…` |
| sql | app/models/contest.rb:145 | 0.92 | 1.0 | 3.00% | `SELECT `contest_stages`.* FROM `contest_stages` WHERE `contest_stages`.`contest…` |
| sql | app/models/contest.rb:147 | 0.86 | 0.97 | 2.72% | `SELECT `contest_waves`.* FROM `contest_waves` WHERE `contest_waves`.`contest_id…` |
| sql | app/models/contest.rb:148 | 0.84 | 1.0 | 2.72% | `SELECT `ffme_contests`.* FROM `ffme_contests` WHERE `ffme_contests`.`contest_id…` |
| sql | app/models/contest.rb:49 | 0.87 | 0.73 | 2.06% | `SELECT COUNT(*) FROM `contest_participants` INNER JOIN `contest_categories` ON …` |
| sql | app/models/contest_category.rb:103 | 1.12 | 0.39 | 1.44% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `contests` ON `gyms`.`id` = `contests`.`…` |
| sql | app/models/contest_category.rb:97 | 0.86 | 0.39 | 1.10% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |
| sql | app/models/contest_category.rb:98 | 0.85 | 0.39 | 1.09% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |
| sql | app/models/contest_category.rb:96 | 0.83 | 0.39 | 1.06% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 0.96 | 0.34 | 1.06% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |

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