# Conseiller::SolicitationsController#update_badges

- **Period:** 23 Jun 13:28 UTC – 24 Jun 13:12 UTC
- **Throughput**: 0.0 / min
- **Average:** 57.1 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/conseiller/solicitations_controller.rb:68 | 19.67 | 1.0 | 34.44% | `Conseiller::SolicitationsController#update_badges` |
| sql | app/controllers/conseiller/solicitations_controller.rb:71 | 2.11 | 6.0 | 22.18% | `BEGIN SELECT "badges".* FROM "badges" WHERE "badges"."id" = ? SELECT "badges".*…` |
| sql | app/models/solicitation.rb:245 | 7.33 | 1.0 | 12.84% | `UPDATE "solicitations" SET "updated_at" = ? WHERE "solicitations"."id" = ?` |
| sql | app/models/concerns/mandatory_answers.rb:30 | 0.47 | 5.0 | 4.09% | `SELECT "subjects".* FROM "subjects" INNER JOIN "landing_subjects" ON "subjects"…` |
| view | app/views/conseiller/solicitations/update_badges.js.haml | 1.67 | 1.0 | 2.92% |  |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/rack-attack-6.8.0/lib/rack/attack.rb:104 | 1.17 | 1.0 | 2.04% | `Rack::Attack` |
| sql | app/controllers/conseiller/solicitations_controller.rb:70 | 0.46 | 2.17 | 1.75% | `SELECT "subject_answers".* FROM "subject_answers" WHERE "subject_answers"."type…` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/cache/strategy/local_cache_middleware.rb:28 | 0.83 | 1.0 | 1.46% | `ActiveSupport::Cache::Strategy::LocalCache::Middleware` |
| sql | app/models/concerns/mandatory_answers.rb:17 | 0.23 | 3.67 | 1.46% | `SELECT ? AS one FROM "subject_questions" WHERE "subject_questions"."subject_id"…` |
| queue | queue | 0.67 | 1.0 | 1.17% |  |
| gc | ruby/gc.c | 1.33 | 0.5 | 1.17% | `GC.start` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135976/requests/Conseiller::SolicitationsController%23update_badges?range=2026-06-23+13%3A28%3A11+UTC..2026-06-24+13%3A28%3A11+UTC)