# Admin::UsersController#invite_to_demo

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

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/admin/user.rb:364 | 7.33 | 1.0 | 42.96% | `Admin::UsersController#invite_to_demo` |
| sql | app/models/user.rb:261 | 0.75 | 4.0 | 17.58% | `BEGIN SELECT "user_rights".* FROM "user_rights" WHERE "user_rights"."user_id" =…` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/rack-attack-6.8.0/lib/rack/attack.rb:104 | 1.0 | 1.0 | 5.86% | `Rack::Attack` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/remote_ip.rb:95 | 0.67 | 1.0 | 3.91% | `ActionDispatch::RemoteIp` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/rack-session-2.1.2/lib/rack/session/abstract/id.rb:267 | 0.67 | 1.0 | 3.91% | `ActionDispatch::Session::CookieStore` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/show_exceptions.rb:31 | 0.33 | 1.0 | 1.95% | `ActionDispatch::ShowExceptions` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/rack-timeout-0.7.0/lib/rack/timeout/core.rb:90 | 0.33 | 1.0 | 1.95% | `Rack::Timeout` |
| gc | ruby/gc.c | 1.0 | 0.33 | 1.95% | `GC.start` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/sendfile.rb:130 | 0.33 | 1.0 | 1.95% | `Rack::Sendfile` |
| sql | vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/notifications/fanout.rb:158 | 0.33 | 1.0 | 1.95% | `SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC …` |
| rack | ActionDispatch::Flash | 0.33 | 1.0 | 1.95% |  |

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