# Api::V1::ContestsController#show

- **Period:** 13 May 05:04 UTC – 13 May 11:04 UTC
- **Throughput**: 0.51 / min
- **Average:** 49.6 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/contests_controller.rb:44 | 28.92 | 1.0 | 58.27% | `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.45 | 1.0 | 4.94% | `Rails::Engine#call` |
| sql | app/controllers/api/v1/contests_controller.rb:148 | 1.77 | 1.0 | 3.56% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/contest_category.rb:103 | 1.62 | 0.91 | 2.97% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `contests` ON `gyms`.`id` = `contests`.`…` |
| sql | app/models/contest.rb:144 | 1.46 | 1.0 | 2.95% | `SELECT `contest_categories`.* FROM `contest_categories` WHERE `contest_categori…` |
| sql | app/controllers/api/v1/contests_controller.rb:152 | 1.46 | 1.0 | 2.93% | `SELECT `contests`.* FROM `contests` WHERE (`contests`.`deleted_at` IS NULL OR `…` |
| sql | app/models/contest.rb:145 | 1.4 | 1.0 | 2.81% | `SELECT `contest_stages`.* FROM `contest_stages` WHERE `contest_stages`.`contest…` |
| sql | app/models/contest_category.rb:97 | 1.5 | 0.91 | 2.74% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |
| sql | app/models/contest.rb:146 | 1.3 | 1.0 | 2.63% | `SELECT `championships`.* FROM `championships` INNER JOIN `championship_contests…` |
| sql | app/models/contest.rb:148 | 1.22 | 1.0 | 2.46% | `SELECT `ffme_contests`.* FROM `ffme_contests` WHERE `ffme_contests`.`contest_id…` |
| sql | app/models/contest.rb:147 | 1.29 | 0.9 | 2.33% | `SELECT `contest_waves`.* FROM `contest_waves` WHERE `contest_waves`.`contest_id…` |
| sql | app/models/contest_category.rb:98 | 1.27 | 0.91 | 2.32% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |
| sql | app/models/contest_category.rb:96 | 1.23 | 0.91 | 2.26% | `SELECT COUNT(*) FROM `contest_participants` WHERE `contest_participants`.`conte…` |
| sql | app/models/contest_stage.rb:36 | 1.5 | 0.58 | 1.76% | `SELECT `gyms`.* FROM `gyms` INNER JOIN `contests` ON `gyms`.`id` = `contests`.`…` |
| sql | app/models/contest.rb:49 | 1.42 | 0.36 | 1.03% | `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=6h)