# Api::V1::ContestsController#opens

- **Period:** 13 May 09:30 UTC – 13 May 10:30 UTC
- **Throughput**: 0.05 / min
- **Average:** 299.7 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/contests_controller.rb:16 | 205.67 | 1.0 | 68.63% | `Api::V1::ContestsController#opens` |
| sql | app/models/contest.rb:49 | 1.23 | 61.0 | 25.14% | `SELECT COUNT(*) FROM `contest_participants` INNER JOIN `contest_categories` ON …` |
| sql | app/controllers/api/v1/contests_controller.rb:23 | 4.67 | 1.0 | 1.56% | `SELECT `contests`.* FROM `contests` WHERE (`contests`.`deleted_at` IS NULL OR `…` |
| sql | app/models/contest.rb:61 | 1.38 | 2.67 | 1.22% | `SELECT `gyms`.* FROM `gyms` WHERE (`gyms`.`deleted_at` IS NULL OR `gyms`.`delet…` |
| sql | app/models/concerns/attachment_resizable.rb:10 | 1.25 | 2.67 | 1.11% | `SELECT `active_storage_attachments`.* FROM `active_storage_attachments` WHERE `…` |
| sql | app/models/contest.rb:114 | 1.13 | 2.67 | 1.00% | `SELECT COUNT(*) FROM `contest_participants` INNER JOIN `contest_categories` ON …` |

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