# Api::V1::ContestsController#show

- **Period:** 12 May 23:04 UTC – 13 May 11:04 UTC
- **Throughput**: 0.27 / min
- **Average:** 51.7 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/contests_controller.rb:44 | 30.37 | 1.0 | 58.72% | `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 | 2.47 | 1.0 | 4.77% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/contests_controller.rb:148 | 1.76 | 1.0 | 3.39% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/contest_category.rb:103 | 1.63 | 0.97 | 3.07% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `contests` ON `gyms`.`id` = `contests`.`…` |
| sql | app/models/contest.rb:144 | 1.48 | 1.0 | 2.87% | `SELECT `contest_categories`.* FROM `contest_categories` WHERE `contest_categori…` |
| sql | app/models/contest_category.rb:97 | 1.49 | 0.97 | 2.80% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |
| sql | app/controllers/api/v1/contests_controller.rb:152 | 1.44 | 1.0 | 2.78% | `SELECT `contests`.* FROM `contests` WHERE (`contests`.`deleted_at` IS NULL OR `…` |
| sql | app/models/contest.rb:145 | 1.43 | 1.0 | 2.77% | `SELECT `contest_stages`.* FROM `contest_stages` WHERE `contest_stages`.`contest…` |
| sql | app/models/contest.rb:146 | 1.33 | 1.0 | 2.57% | `SELECT `championships`.* FROM `championships` INNER JOIN `championship_contests…` |
| sql | app/models/contest_category.rb:98 | 1.27 | 0.97 | 2.40% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |
| sql | app/models/contest.rb:148 | 1.23 | 1.0 | 2.39% | `SELECT `ffme_contests`.* FROM `ffme_contests` WHERE `ffme_contests`.`contest_id…` |
| sql | app/models/contest_category.rb:96 | 1.24 | 0.97 | 2.34% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |
| sql | app/models/contest.rb:147 | 1.32 | 0.9 | 2.31% | `SELECT `contest_waves`.* FROM `contest_waves` WHERE `contest_waves`.`contest_id…` |
| sql | app/models/contest_stage.rb:36 | 1.51 | 0.62 | 1.81% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `contests` ON `gyms`.`id` = `contests`.`…` |
| sql | app/models/contest.rb:49 | 1.48 | 0.36 | 1.04% | `SELECT COUNT(*) FROM `contest_participants` INNER JOIN `contest_categories` ON …` |

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