# Conseiller::SharedSatisfactionsController#mark_as_seen

- **Period:** 24 Jun 07:21 UTC – 24 Jun 08:20 UTC
- **Throughput**: 0.03 / min
- **Average:** 36.4 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| sql | app/controllers/conseiller/shared_satisfactions_controller.rb:35 | 1.9 | 5.0 | 26.13% | `BEGIN UPDATE "shared_satisfactions" SET "updated_at" = ?, "seen_at" = ? WHERE "…` |
| code | app/controllers/conseiller/shared_satisfactions_controller.rb:33 | 8.0 | 1.0 | 22.00% | `Conseiller::SharedSatisfactionsController#mark_as_seen` |
| sql | app/controllers/conseiller/shared_satisfactions_controller.rb:34 | 3.0 | 1.0 | 8.25% | `SELECT "shared_satisfactions".* FROM "shared_satisfactions" WHERE "shared_satis…` |
| gc | ruby/gc.c | 2.0 | 1.0 | 5.50% | `GC.start` |
| sql | app/controllers/conseiller/shared_satisfactions_controller.rb:77 | 1.0 | 2.0 | 5.50% | `SELECT COUNT(DISTINCT "needs"."id") FROM "needs" INNER JOIN "company_satisfacti…` |
| view | app/views/conseiller/shared_satisfactions/mark_as_seen.turbo_stream.haml | 1.5 | 1.0 | 4.13% |  |
| queue | queue | 1.0 | 1.0 | 2.75% |  |
| sql | vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/notifications/fanout.rb:158 | 1.0 | 1.0 | 2.75% | `SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC …` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/rack-attack-6.8.0/lib/rack/attack.rb:104 | 1.0 | 1.0 | 2.75% | `Rack::Attack` |
| redis | app/controllers/conseiller/shared_satisfactions_controller.rb:77 | 0.5 | 1.0 | 1.38% | `get` |
| sql | app/views/conseiller/shared_satisfactions/mark_as_seen.turbo_stream.haml:1 | 0.5 | 1.0 | 1.38% | `SELECT "needs".* FROM "needs" INNER JOIN "company_satisfactions" ON "needs"."id…` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/cookies.rb:706 | 0.5 | 1.0 | 1.38% | `ActionDispatch::Cookies` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/etag.rb:28 | 0.5 | 1.0 | 1.38% | `Rack::ETag` |
| code | /app/vendor/bundle/ruby/4.0.0/gems/railties-8.1.3/lib/rails/engine.rb:532 | 0.5 | 1.0 | 1.38% | `Rails::Engine#call` |
| rack | ActionDispatch::Flash | 0.5 | 1.0 | 1.38% |  |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/runtime.rb:22 | 0.5 | 1.0 | 1.38% | `Rack::Runtime` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/warden-1.2.9/lib/warden/manager.rb:30 | 0.5 | 1.0 | 1.38% | `Warden::Manager` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/railties-8.1.3/lib/rails/rack/logger.rb:20 | 0.5 | 1.0 | 1.38% | `Rails::Rack::Logger` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/rack-timeout-0.7.0/lib/rack/timeout/core.rb:90 | 0.5 | 1.0 | 1.38% | `Rack::Timeout` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/remote_ip.rb:95 | 0.5 | 1.0 | 1.38% | `ActionDispatch::RemoteIp` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135976/requests/Conseiller::SharedSatisfactionsController%23mark_as_seen?range=1h)