# Admin::StatisticsQuizController#index

- **Period:** 12 Jun 05:08 UTC – 13 Jun 05:07 UTC
- **Throughput**: 0.0 / min
- **Average:** 572.8 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| sql | app/facades/admin/statistics_quiz.rb:43 | 147.4 | 1.0 | 25.73% | `SELECT COUNT(DISTINCT "quiz_answers"."user_id") FROM "quiz_answers" INNER JOIN …` |
| view | app/views/admin/statistics_quiz/index.html.erb | 95.6 | 1.0 | 16.69% |  |
| sql | app/views/admin/statistics_quiz/index.html.erb:18 | 68.0 | 1.0 | 11.87% | `SELECT COUNT(DISTINCT "quiz_answers"."user_id") AS "count_quiz_answers_user_id"…` |
| sql | app/facades/admin/statistics_quiz.rb:35 | 46.6 | 1.0 | 8.14% | `SELECT COUNT(*) FROM "quiz_answers" INNER JOIN "quiz_propositions" ON "quiz_pro…` |
| sql | app/facades/admin/statistics_quiz.rb:73 | 45.0 | 1.0 | 7.86% | `SELECT COUNT("answers"."id") AS "count_answers_id", "quiz_questions"."categoris…` |
| sql | app/views/admin/statistics_quiz/index.html.erb:9 | 42.6 | 1.0 | 7.44% | `SELECT COUNT(*) AS "count_all", DATE_TRUNC(?, "quiz_answers"."created_at"::time…` |
| sql | app/facades/admin/statistics_quiz.rb:66 | 18.8 | 2.0 | 6.56% | `SELECT user_id, COUNT(DISTINCT DATE(created_at)) as distinct_days FROM "quiz_an…` |
| gc | ruby/gc.c | 17.0 | 1.0 | 2.97% | `GC.start` |
| sql | app/views/admin/statistics_quiz/index.html.erb:48 | 1.52 | 10.0 | 2.65% | `SELECT COUNT(*) FROM "quiz_answers" INNER JOIN "quiz_questions" ON "quiz_answer…` |
| sql | app/facades/admin/statistics_quiz.rb:39 | 3.6 | 3.0 | 1.89% | `SELECT COUNT(DISTINCT "quiz_answers"."user_id") FROM "quiz_answers"` |
| sql | app/facades/admin/statistics_quiz.rb:31 | 7.4 | 1.0 | 1.29% | `SELECT COUNT(*) FROM "quiz_answers" WHERE (created_at > ?)` |
| code | app/controllers/admin/statistics_quiz_controller.rb:5 | 6.8 | 1.0 | 1.19% | `Admin::StatisticsQuizController#index` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135493/requests/Admin::StatisticsQuizController%23index?range=1d)