# Admin::ExpertsController#destroy

- **Period:** 23 Jun 06:04 UTC – 24 Jun 06:03 UTC
- **Throughput**: 0.0 / min
- **Average:** 34.2 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/admin/expert.rb:58 | 18.0 | 1.0 | 52.69% | `Admin::ExpertsController#destroy` |
| sql | app/models/expert.rb:336 | 5.0 | 1.0 | 14.64% | `UPDATE "experts" SET "deleted_at" = ?, "email" = ?, "full_name" = ?, "phone_num…` |
| sql | app/models/expert.rb:332 | 1.0 | 2.0 | 5.85% | `BEGIN SELECT ? AS one FROM "matches" WHERE "matches"."expert_id" = ? AND "match…` |
| sql | vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/notifications/fanout.rb:158 | 1.0 | 1.0 | 2.93% | `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.93% | `Rack::Attack` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/show_exceptions.rb:31 | 1.0 | 1.0 | 2.93% | `ActionDispatch::ShowExceptions` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/conditional_get.rb:28 | 1.0 | 1.0 | 2.93% | `Rack::ConditionalGet` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/runtime.rb:22 | 1.0 | 1.0 | 2.93% | `Rack::Runtime` |
| sql | app/models/expert.rb:331 | 1.0 | 1.0 | 2.93% | `COMMIT` |

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