# Api::V1::ContestsController#opens

- **Period:** 27 Jun 09:48 UTC – 27 Jun 17:01 UTC
- **Throughput**: 0.08 / min
- **Average:** 257.1 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/contests_controller.rb:16 | 181.06 | 1.0 | 70.42% | `Api::V1::ContestsController#opens` |
| sql | app/models/contest.rb:49 | 0.89 | 63.88 | 22.22% | `SELECT COUNT(*) FROM `contest_participants` INNER JOIN `contest_categories` ON …` |
| sql | app/controllers/api/v1/contests_controller.rb:23 | 3.76 | 1.0 | 1.46% | `SELECT `contests`.* FROM `contests` WHERE (`contests`.`deleted_at` IS NULL OR `…` |
| sql | app/models/contest.rb:61 | 0.69 | 4.91 | 1.32% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/contest.rb:114 | 0.63 | 4.91 | 1.21% | `SELECT COUNT(*) FROM `contest_participants` INNER JOIN `contest_categories` ON …` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 0.62 | 4.91 | 1.18% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |

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