# Api::V1::ContestsController#show

- **Period:** 13 May 10:49 UTC – 13 May 11:04 UTC
- **Throughput**: 0.13 / 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 | 17.0 | 1.0 | 60.71% | `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.5 | 1.0 | 8.93% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/contests_controller.rb:148 | 1.5 | 1.0 | 5.36% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/contest.rb:145 | 1.5 | 1.0 | 5.36% | `SELECT `contest_stages`.* FROM `contest_stages` WHERE `contest_stages`.`contest…` |
| sql | app/models/contest.rb:147 | 1.0 | 1.0 | 3.57% | `SELECT `contest_waves`.* FROM `contest_waves` WHERE `contest_waves`.`contest_id…` |
| sql | app/models/contest.rb:148 | 1.0 | 1.0 | 3.57% | `SELECT `ffme_contests`.* FROM `ffme_contests` WHERE `ffme_contests`.`contest_id…` |
| sql | app/controllers/api/v1/contests_controller.rb:152 | 1.0 | 1.0 | 3.57% | `SELECT `contests`.* FROM `contests` WHERE (`contests`.`deleted_at` IS NULL OR `…` |
| sql | app/models/contest.rb:144 | 1.0 | 1.0 | 3.57% | `SELECT `contest_categories`.* FROM `contest_categories` WHERE `contest_categori…` |
| sql | app/models/contest.rb:146 | 1.0 | 1.0 | 3.57% | `SELECT `championships`.* FROM `championships` INNER JOIN `championship_contests…` |
| sql | app/models/contest.rb:49 | 1.0 | 0.5 | 1.79% | `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=15m)