# Quiz::ResetsController#new

- **Period:** 12 Jun 17:37 UTC – 12 Jun 22:46 UTC
- **Throughput**: 0.02 / min
- **Average:** 219.1 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| sql | lib/quiz/stats.rb:120 | 94.86 | 1.0 | 43.30% | `WITH first_answers AS ( SELECT qa.user_id, qa.question_id, qa.proposition_id, R…` |
| sql | app/views/layouts/quiz_answer.html.erb:87 | 37.29 | 1.0 | 17.02% | `SELECT sub_categories.*, count(quiz_answers.id) as quiz_answers_count FROM "sub…` |
| sql | app/views/layouts/quiz_answer.html.erb:104 | 7.29 | 3.0 | 9.98% | `SELECT topics.*, count(quiz_answers.id) as quiz_answers_count FROM "topics" INN…` |
| sql | app/views/layouts/quiz_answer.html.erb:70 | 15.71 | 1.0 | 7.17% | `SELECT categories.*, count(quiz_answers.id) as quiz_answers_count FROM "categor…` |
| sql | app/helpers/forms_helper.rb:80 | 13.17 | 0.86 | 5.15% | `SELECT DISTINCT "groups"."id", "groups"."name", "categories"."name", "categorie…` |
| sql | lib/quiz/stats.rb:26 | 9.29 | 1.0 | 4.24% | `SELECT COUNT(*) FROM "quiz_questions" WHERE ("quiz_questions"."categorisable_ty…` |
| code | app/controllers/quiz/resets_controller.rb:4 | 8.0 | 1.0 | 3.65% | `Quiz::ResetsController#new` |
| sql | lib/quiz/stats.rb:16 | 2.86 | 1.0 | 1.30% | `SELECT COUNT(*) FROM "quiz_answers" WHERE "quiz_answers"."question_id" IN (?)) …` |
| view | app/views/quiz/answers/_stats.html.erb | 2.29 | 1.0 | 1.04% |  |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135493/requests/Quiz::ResetsController%23new?range=2026-06-12+17%3A37%3A53+UTC..2026-06-12+22%3A46%3A41+UTC)