# ActionMailer::MailDeliveryJob

- **Period:** 23 Jun 08:24 UTC – 24 Jun 08:23 UTC
- **Throughput**: 1.38 / min
- **Average:** 1763.7 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | vendor/bundle/ruby/4.0.0/gems/actionmailer-8.1.3/lib/action_mailer/mail_delivery_job.rb:21 | 849.08 | 1.0 | 48.14% | `ActionMailer::MailDeliveryJob#perform` |
| mail | vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/notifications/fanout.rb:158 | 306.03 | 0.83 | 14.42% | `SolicitationMailer` |
| gc | ruby/gc.c | 20.86 | 6.35 | 7.51% | `GC.start` |
| sql | app/models/antenne.rb:166 | 80.12 | 1.06 | 4.84% | `SELECT "user_rights".* FROM "user_rights" INNER JOIN "territorial_zones" ON "te…` |
| sql | app/mailers/expert_mailer.rb:16 | 74.31 | 1.09 | 4.61% | `SELECT "institutions".* FROM "institutions" INNER JOIN "antennes" ON "instituti…` |
| sql | vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/notifications/fanout.rb:158 | 45.27 | 1.14 | 2.92% | `SELECT "needs".* FROM "needs" WHERE "needs"."id" = ? LIMIT ? SELECT "email_rete…` |
| sql | app/models/concerns/with_territorial_zones.rb:35 | 83.45 | 0.56 | 2.64% | `SELECT "territorial_zones".* FROM "territorial_zones" WHERE "territorial_zones"…` |
| sql | app/models/expert.rb:303 | 83.02 | 0.55 | 2.58% | `SELECT "antennes".* FROM "antennes" WHERE "antennes"."id" = ? LIMIT ?` |
| sql | app/mailers/expert_mailer.rb:46 | 92.6 | 0.44 | 2.29% | `SELECT DISTINCT "needs".* FROM "needs" INNER JOIN "matches" ON "needs"."id" = "…` |
| sql | app/views/mailers/expert_mailer/_need_card.text.erb:1 | 56.84 | 0.58 | 1.88% | `SELECT "facilities".* FROM "facilities" INNER JOIN "diagnoses" ON "facilities".…` |
| sql | app/views/mailers/expert_mailer/_need_card.text.erb:2 | 54.45 | 0.58 | 1.81% | `SELECT "companies".* FROM "companies" INNER JOIN "facilities" ON "companies"."i…` |
| sql | app/views/mailers/expert_mailer/_need_card.text.erb:3 | 45.31 | 0.47 | 1.22% | `SELECT "subjects".* FROM "subjects" WHERE "subjects"."id" = ? LIMIT ?` |
| code | vendor/bundle/ruby/4.0.0/gems/sidekiq-8.1.6/lib/active_job/queue_adapters/sidekiq_adapter.rb:13 | 20.25 | 1.0 | 1.15% | `ActionMailer::MailDeliveryJob#perform` |
| sql | app/mailers/expert_mailer.rb:48 | 74.54 | 0.27 | 1.13% | `SELECT DISTINCT "needs".* FROM "needs" INNER JOIN "matches" ON "needs"."id" = "…` |
| sql | app/views/mailers/expert_mailer/_support_user_signature.mjml:15 | 48.7 | 0.41 | 1.12% | `SELECT "profil_pictures".* FROM "profil_pictures" WHERE "profil_pictures"."user…` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135976/jobs/ActionMailer::MailDeliveryJob?range=1d)