|
code
app/jobs/create_automatic_diagnosis_job.rb:2
|
60%
|
app/jobs/create_automatic_diagnosis_job.rb:2
- Average Self
-
1,910ms
- Average calls
- 1x
- Total Self
- 1,910ms
- Total Children
- 1,244ms
- Total runtime
- 3,155ms
CreateAutomaticDiagnosisJob#perform
|
|
sql
app/services/diagnosis_creation/create_or_update_facility_and_company.rb:50
|
12%
|
app/services/diagnosis_creation/create_or_update_facility_and_company.rb:50
- Average Self
-
384ms
- Average calls
- 1x
- Total Self
- 384ms
- Total Children
- 0ms
- Total runtime
- 384ms
SELECT "facilities".* FROM "facilities" WHERE "facilities"."siret" = ? LIMIT ?
|
|
sql
app/models/expert.rb:256
|
9%
|
app/models/expert.rb:256
- Average Self
-
286ms
- Average calls
- 1x
- Total Self
- 286ms
- Total Children
- 0ms
- Total runtime
- 286ms
SELECT "experts"."id" FROM "experts" LEFT OUTER JOIN "antennes" ON "antennes"."id" = "experts"."antenne_id" LEFT OUTER JOIN "territorial_zones" ON "territorial_zones"."zoneable_type" = ? AND "territorial_zones"."zoneable_id" = "antennes"."id" WHERE "experts"."id" NOT IN (?) AND ("territorial_zones"."zone_type" = ? AND "territorial_zones"."code" = ? OR "territorial_zones"."zone_type" = ? AND "territorial_zones"."code" IS NULL OR "territorial_zones"."zone_type" = ? AND "territorial_zones"."code" = ? OR "territorial_zones"."zone_type" = ? AND "territorial_zones"."code" = ? OR "antennes"."territorial_level" = ?)
|
|
sql
app/services/diagnosis_creation/create_or_update_facility_and_company.rb:22
|
5%
|
app/services/diagnosis_creation/create_or_update_facility_and_company.rb:22
- Average Self
-
172ms
- Average calls
- 1x
- Total Self
- 172ms
- Total Children
- 0ms
- Total runtime
- 172ms
SELECT "companies".* FROM "companies" WHERE "companies"."siren" = ? LIMIT ?
|
|
sql
app/models/expert.rb:247
|
2%
|
app/models/expert.rb:247
- Average Self
-
77ms
- Average calls
- 1x
- Total Self
- 77ms
- Total Children
- 0ms
- Total runtime
- 77ms
SELECT "experts"."id" FROM "experts" INNER JOIN "territorial_zones" ON "territorial_zones"."zoneable_type" = ? AND "territorial_zones"."zoneable_id" = "experts"."id" WHERE "experts"."deleted_at" IS NULL
|
|
sql
app/jobs/create_automatic_diagnosis_job.rb:3
|
2%
|
app/jobs/create_automatic_diagnosis_job.rb:3
- Average Self
-
69ms
- Average calls
- 1x
- Total Self
- 69ms
- Total Children
- 0ms
- Total runtime
- 69ms
SELECT "solicitations".* FROM "solicitations" WHERE "solicitations"."id" = ? LIMIT ?
|
|
gc
ruby/gc.c
|
2%
|
ruby/gc.c
- Average Self
-
42ms
- Average calls
- 1.3x
- Total Self
- 52ms
- Total Children
- 0ms
- Total runtime
- 52ms
GC.start
|
|
sql
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:36
|
1%
|
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:36
- Average Self
-
40ms
- Average calls
- 1x
- Total Self
- 40ms
- Total Children
- 0ms
- Total runtime
- 40ms
SELECT "experts_subjects".* FROM "experts_subjects" INNER JOIN "experts" ON "experts"."deleted_at" IS NULL AND "experts"."id" = "experts_subjects"."expert_id" INNER JOIN "institutions_subjects" ON "institutions_subjects"."id" = "experts_subjects"."institution_subject_id" INNER JOIN "institutions" ON "institutions"."id" = "institutions_subjects"."institution_id" WHERE "experts_subjects"."expert_id" IN (?) OR "experts"."id" IN (?))) AND "institutions_subjects"."subject_id" = ? AND "institutions_subjects"."institution_id" IN (?) AND "institutions_subjects"."institution_id" != ? AND "institutions_subjects"."institution_id" != ? AND "institutions_subjects"."institution_id" != ? AND "institutions_subjects"."institution_id" NOT IN (?)
|
|
sql
app/services/diagnosis_creation/create_or_update_facility_and_company.rb:53
|
<1%
|
app/services/diagnosis_creation/create_or_update_facility_and_company.rb:53
- Average Self
-
16ms
- Average calls
- 1.8x
- Total Self
- 28ms
- Total Children
- 0ms
- Total runtime
- 28ms
SELECT ? AS one FROM "facilities" WHERE "facilities"."siret" = ? LIMIT ?
INSERT INTO "facilities" ("company_id", "siret", "created_at", "updated_at", "naf_code", "readable_locality", "code_effectif", "naf_libelle", "naf_code_a10", "opco_id", "effectif", "nature_activites", "nafa_codes", "insee_code") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"
|
|
sql
app/models/expert_subject.rb:99
|
<1%
|
app/models/expert_subject.rb:99
- Average Self
-
4.1ms
- Average calls
- 5.3x
- Total Self
- 21ms
- Total Children
- 0ms
- Total runtime
- 21ms
SELECT "match_filters".* FROM "match_filters" INNER JOIN "experts" ON "match_filters"."filtrable_element_id" = "experts"."id" WHERE "experts"."id" = ? AND "match_filters"."filtrable_element_type" = ?
SELECT "match_filters".* FROM "match_filters" INNER JOIN "antennes" ON "match_filters"."filtrable_element_id" = "antennes"."id" INNER JOIN "experts" ON "antennes"."id" = "experts"."antenne_id" WHERE "experts"."id" = ? AND "match_filters"."filtrable_element_type" = ?
SELECT "match_filters".* FROM "match_filters" INNER JOIN "institutions" ON "match_filters"."filtrable_element_id" = "institutions"."id" INNER JOIN "antennes" ON "institutions"."id" = "antennes"."institution_id" INNER JOIN "experts" ON "antennes"."id" = "experts"."antenne_id" WHERE "experts"."id" = ? AND "match_filters"."filtrable_element_type" = ?
|
|
sql
app/models/expert.rb:244
|
<1%
|
app/models/expert.rb:244
- Average Self
-
20ms
- Average calls
- 1x
- Total Self
- 20ms
- Total Children
- 0ms
- Total runtime
- 20ms
SELECT "experts"."id" FROM "experts" LEFT OUTER JOIN "territorial_zones" ON "territorial_zones"."zoneable_type" = ? AND "territorial_zones"."zoneable_id" = "experts"."id" WHERE ("territorial_zones"."zone_type" = ? AND "territorial_zones"."code" = ? OR "territorial_zones"."zone_type" = ? AND "territorial_zones"."code" IS NULL OR "territorial_zones"."zone_type" = ? AND "territorial_zones"."code" = ? OR "territorial_zones"."zone_type" = ? AND "territorial_zones"."code" = ?)
|
|
sql
app/services/diagnosis_creation/create_or_update_facility_and_company.rb:25
|
<1%
|
app/services/diagnosis_creation/create_or_update_facility_and_company.rb:25
- Average Self
-
8.1ms
- Average calls
- 1.8x
- Total Self
- 14ms
- Total Children
- 0ms
- Total runtime
- 14ms
SELECT ? AS one FROM "companies" WHERE "companies"."siren" = ? LIMIT ?
INSERT INTO "companies" ("name", "siren", "created_at", "updated_at", "legal_form_code", "code_effectif", "date_de_creation", "effectif", "forme_exercice") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"
|
|
sql
app/services/diagnosis_creation/create_matches.rb:16
|
<1%
|
app/services/diagnosis_creation/create_matches.rb:16
- Average Self
-
2.5ms
- Average calls
- 5.3x
- Total Self
- 13ms
- Total Children
- 0ms
- Total runtime
- 13ms
SELECT ? AS one FROM "matches" WHERE "matches"."expert_id" = ? AND "matches"."need_id" = ? LIMIT ?
INSERT INTO "matches" ("need_id", "created_at", "updated_at", "taken_care_of_at", "closed_at", "expert_id", "subject_id", "status", "archived_at", "sent_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"
UPDATE "needs" SET "matches_count" = COALESCE("needs"."matches_count", ?) + ?, "updated_at" = ? WHERE "needs"."id" = ?
|
|
sql
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:31
|
<1%
|
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:31
- Average Self
-
7.3ms
- Average calls
- 1.8x
- Total Self
- 12ms
- Total Children
- 0ms
- Total runtime
- 12ms
SELECT ? AS one FROM "subject_answer_groupings" INNER JOIN "subject_answers" ON "subject_answers"."subject_answer_grouping_id" = "subject_answer_groupings"."id" AND "subject_answers"."type" = ? INNER JOIN "subject_questions" "subject_question" ON "subject_question"."id" = "subject_answers"."subject_question_id" INNER JOIN "subjects" ON "subjects"."id" = "subject_question"."subject_id" WHERE "subject_answer_groupings"."institution_id" = ? AND "subject_question"."subject_id" = ? LIMIT ?
|
|
sql
app/models/solicitation.rb:601
|
<1%
|
app/models/solicitation.rb:601
- Average Self
-
6.3ms
- Average calls
- 2x
- Total Self
- 12ms
- Total Children
- 0ms
- Total runtime
- 12ms
SELECT "landing_subjects".* FROM "landing_subjects" WHERE "landing_subjects"."id" = ? LIMIT ?
SELECT "subjects".* FROM "subjects" WHERE "subjects"."id" = ? LIMIT ?
|
|
sql
app/services/diagnosis_creation/steps.rb:25
|
<1%
|
app/services/diagnosis_creation/steps.rb:25
- Average Self
-
4.6ms
- Average calls
- 2x
- Total Self
- 9.3ms
- Total Children
- 0ms
- Total runtime
- 9.3ms
INSERT INTO "contacts" ("email", "phone_number", "company_id", "created_at", "updated_at", "full_name") VALUES (?, ?, ?, ?, ?, ?) RETURNING "id"
UPDATE "diagnoses" SET "updated_at" = ?, "visitee_id" = ? WHERE "diagnoses"."id" = ?
|
|
sql
app/services/diagnosis_creation/create_or_update_diagnosis.rb:19
|
<1%
|
app/services/diagnosis_creation/create_or_update_diagnosis.rb:19
- Average Self
-
8ms
- Average calls
- 1x
- Total Self
- 8ms
- Total Children
- 0ms
- Total runtime
- 8ms
INSERT INTO "diagnoses" ("content", "created_at", "updated_at", "step", "advisor_id", "visitee_id", "facility_id", "happened_on", "solicitation_id", "completed_at", "retention_email_sent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"
|
|
sql
app/services/diagnosis_creation/create_automatic_diagnosis.rb:15
|
<1%
|
app/services/diagnosis_creation/create_automatic_diagnosis.rb:15
- Average Self
-
2.8ms
- Average calls
- 2x
- Total Self
- 5.5ms
- Total Children
- 0ms
- Total runtime
- 5.5ms
UPDATE "solicitations" SET "updated_at" = ? WHERE "solicitations"."id" = ?
COMMIT
|
|
sql
app/models/concerns/mandatory_answers.rb:30
|
<1%
|
app/models/concerns/mandatory_answers.rb:30
- Average Self
-
0.95ms
- Average calls
- 5x
- Total Self
- 4.8ms
- Total Children
- 0ms
- Total runtime
- 4.8ms
SELECT "subject_questions"."id" FROM "subject_questions" WHERE "subject_questions"."subject_id" = ?
BEGIN
SELECT "subjects".* FROM "subjects" INNER JOIN "landing_subjects" ON "subjects"."id" = "landing_subjects"."subject_id" WHERE "landing_subjects"."id" = ? LIMIT ?
SELECT "subject_answers".* FROM "subject_answers" WHERE "subject_answers"."type" = ? AND "subject_answers"."subject_questionable_id" = ? AND "subject_answers"."subject_questionable_type" = ? AND ?=?
|
|
sql
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:30
|
<1%
|
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:30
- Average Self
-
1.2ms
- Average calls
- 3.5x
- Total Self
- 4.3ms
- Total Children
- 0ms
- Total runtime
- 4.3ms
SELECT "experts".* FROM "experts" WHERE "experts"."id" = ? LIMIT ?
SELECT "institutions".* FROM "institutions" INNER JOIN "antennes" ON "institutions"."id" = "antennes"."institution_id" WHERE "antennes"."id" = ? LIMIT ?
|
|
sql
app/models/diagnosis.rb:134
|
<1%
|
app/models/diagnosis.rb:134
- Average Self
-
0.57ms
- Average calls
- 7x
- Total Self
- 4ms
- Total Children
- 0ms
- Total runtime
- 4ms
SELECT "diagnoses".* FROM "diagnoses" INNER JOIN "solicitations" ON "solicitations"."id" = "diagnoses"."solicitation_id" WHERE "solicitations"."id" = ?
|
|
sql
app/services/diagnosis_creation/create_automatic_diagnosis.rb:36
|
<1%
|
app/services/diagnosis_creation/create_automatic_diagnosis.rb:36
- Average Self
-
1.3ms
- Average calls
- 3x
- Total Self
- 4ms
- Total Children
- 0ms
- Total runtime
- 4ms
SELECT "landings".* FROM "landings" WHERE "landings"."id" = ? LIMIT ?
UPDATE "solicitations" SET "updated_at" = ?, "prepare_diagnosis_errors_details" = ? WHERE "solicitations"."id" = ?
COMMIT
|
|
sql
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:76
|
<1%
|
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:76
- Average Self
-
2.1ms
- Average calls
- 1.8x
- Total Self
- 3.8ms
- Total Children
- 0ms
- Total runtime
- 3.8ms
SELECT ? AS one FROM "subjects" INNER JOIN "match_filters_subjects" ON "subjects"."id" = "match_filters_subjects"."subject_id" WHERE "match_filters_subjects"."match_filter_id" = ? LIMIT ?
SELECT ? AS one FROM "subjects" INNER JOIN "match_filters_subjects" ON "subjects"."id" = "match_filters_subjects"."subject_id" WHERE "match_filters_subjects"."match_filter_id" = ? AND "subjects"."id" = ? LIMIT ?
|
|
sql
app/models/solicitation.rb:702
|
<1%
|
app/models/solicitation.rb:702
- Average Self
-
3.3ms
- Average calls
- 1x
- Total Self
- 3.3ms
- Total Children
- 0ms
- Total runtime
- 3.3ms
SELECT "spams".* FROM "spams" WHERE "spams"."email" = ? LIMIT ?
|
|
sql
app/services/diagnosis_creation/steps.rb:45
|
<1%
|
app/services/diagnosis_creation/steps.rb:45
- Average Self
-
3.3ms
- Average calls
- 1x
- Total Self
- 3.3ms
- Total Children
- 0ms
- Total runtime
- 3.3ms
UPDATE "diagnoses" SET "updated_at" = ?, "step" = ? WHERE "diagnoses"."id" = ?
|
|
sql
app/services/diagnosis_creation/steps.rb:40
|
<1%
|
app/services/diagnosis_creation/steps.rb:40
- Average Self
-
1.4ms
- Average calls
- 2x
- Total Self
- 2.8ms
- Total Children
- 0ms
- Total runtime
- 2.8ms
SELECT ? AS one FROM "needs" WHERE "needs"."subject_id" = ? AND "needs"."diagnosis_id" = ? LIMIT ?
INSERT INTO "needs" ("diagnosis_id", "subject_id", "created_at", "updated_at", "content", "matches_count", "satisfaction_email_sent", "status", "abandoned_email_sent", "retention_sent_at", "starred_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) RETURNING "id"
|
|
sql
app/services/diagnosis_creation/steps.rb:54
|
<1%
|
app/services/diagnosis_creation/steps.rb:54
- Average Self
-
2.5ms
- Average calls
- 1x
- Total Self
- 2.5ms
- Total Children
- 0ms
- Total runtime
- 2.5ms
UPDATE "diagnoses" SET "updated_at" = ?, "step" = ? WHERE "diagnoses"."id" = ?
|
|
sql
app/models/subject.rb:132
|
<1%
|
app/models/subject.rb:132
- Average Self
-
2.5ms
- Average calls
- 1x
- Total Self
- 2.5ms
- Total Children
- 0ms
- Total runtime
- 2.5ms
SELECT "subjects".* FROM "subjects" WHERE "subjects"."slug" = ? LIMIT ?
|
|
redis
app/services/api.rb:14
|
<1%
|
app/services/api.rb:14
- Average Self
-
0.44ms
- Average calls
- 4x
- Total Self
- 1.8ms
- Total Children
- 0ms
- Total runtime
- 1.8ms
get
|
|
sql
app/services/diagnosis_creation/create_automatic_diagnosis.rb:21
|
<1%
|
app/services/diagnosis_creation/create_automatic_diagnosis.rb:21
- Average Self
-
0.75ms
- Average calls
- 2x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
BEGIN
SELECT "diagnoses".* FROM "diagnoses" WHERE "diagnoses"."solicitation_id" = ? LIMIT ?
|
|
sql
app/services/diagnosis_creation/steps.rb:13
|
<1%
|
app/services/diagnosis_creation/steps.rb:13
- Average Self
-
1.3ms
- Average calls
- 1x
- Total Self
- 1.3ms
- Total Children
- 0ms
- Total runtime
- 1.3ms
UPDATE "diagnoses" SET "updated_at" = ?, "happened_on" = ? WHERE "diagnoses"."id" = ?
|
|
cache
app/services/api.rb:14
|
<1%
|
app/services/api.rb:14
- Average Self
-
0.25ms
- Average calls
- 4x
- Total Self
- 1ms
- Total Children
- 1.8ms
- Total runtime
- 2.8ms
read
write
|
|
sql
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:157
|
<1%
|
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:157
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT "facilities".* FROM "facilities" INNER JOIN "diagnoses" ON "facilities"."id" = "diagnoses"."facility_id" WHERE "diagnoses"."id" = ? LIMIT ?
|
|
sql
app/services/diagnosis_creation/steps.rb:51
|
<1%
|
app/services/diagnosis_creation/steps.rb:51
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT "matches".* FROM "matches" INNER JOIN "needs" ON "matches"."need_id" = "needs"."id" WHERE "needs"."diagnosis_id" = ?
|
|
sql
app/services/diagnosis_creation/steps.rb:42
|
<1%
|
app/services/diagnosis_creation/steps.rb:42
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT "subject_answers".* FROM "subject_answers" WHERE "subject_answers"."type" = ? AND "subject_answers"."subject_questionable_id" = ? AND "subject_answers"."subject_questionable_type" = ?
|
|
sql
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:161
|
<1%
|
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:161
- Average Self
-
1ms
- Average calls
- 0.75x
- Total Self
- 0.75ms
- Total Children
- 0ms
- Total runtime
- 0.75ms
SELECT "companies".* FROM "companies" INNER JOIN "facilities" ON "companies"."id" = "facilities"."company_id" INNER JOIN "diagnoses" ON "facilities"."id" = "diagnoses"."facility_id" WHERE "diagnoses"."id" = ? LIMIT ?
|
|
sql
app/models/facility.rb:84
|
<1%
|
app/models/facility.rb:84
- Average Self
-
0.75ms
- Average calls
- 1x
- Total Self
- 0.75ms
- Total Children
- 0ms
- Total runtime
- 0.75ms
SELECT "companies".* FROM "companies" WHERE "companies"."id" = ? LIMIT ?
|
|
sql
app/services/diagnosis_creation/steps.rb:31
|
<1%
|
app/services/diagnosis_creation/steps.rb:31
- Average Self
-
0.75ms
- Average calls
- 1x
- Total Self
- 0.75ms
- Total Children
- 0ms
- Total runtime
- 0.75ms
SELECT "needs".* FROM "needs" WHERE "needs"."diagnosis_id" = ?
|
|
sql
app/models/expert_subject.rb:85
|
<1%
|
app/models/expert_subject.rb:85
- Average Self
-
1.5ms
- Average calls
- 0.5x
- Total Self
- 0.75ms
- Total Children
- 0ms
- Total runtime
- 0.75ms
SELECT "institutions".* FROM "institutions" WHERE "institutions"."slug" = ? LIMIT ?
|
|
sql
app/services/diagnosis_creation/create_matches.rb:15
|
<1%
|
app/services/diagnosis_creation/create_matches.rb:15
- Average Self
-
0.43ms
- Average calls
- 1.8x
- Total Self
- 0.75ms
- Total Children
- 0ms
- Total runtime
- 0.75ms
SELECT "subjects".* FROM "subjects" INNER JOIN "institutions_subjects" ON "subjects"."id" = "institutions_subjects"."subject_id" WHERE "institutions_subjects"."id" = ? LIMIT ?
|
|
sql
app/models/need.rb:462
|
<1%
|
app/models/need.rb:462
- Average Self
-
0.29ms
- Average calls
- 1.8x
- Total Self
- 0.5ms
- Total Children
- 0ms
- Total runtime
- 0.5ms
SELECT "matches".* FROM "matches" WHERE "matches"."need_id" = ?
|
|
sql
app/models/need.rb:466
|
<1%
|
app/models/need.rb:466
- Average Self
-
0.29ms
- Average calls
- 1.8x
- Total Self
- 0.5ms
- Total Children
- 0ms
- Total runtime
- 0.5ms
UPDATE "diagnoses" SET "updated_at" = ? WHERE "diagnoses"."id" = ?
|
|
code
vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/callbacks.rb:130
|
<1%
|
vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/callbacks.rb:130
- Average Self
-
0.25ms
- Average calls
- 1x
- Total Self
- 0.25ms
- Total Children
- 3,155ms
- Total runtime
- 3,155ms
CreateAutomaticDiagnosisJob
|
|
code
vendor/bundle/ruby/4.0.0/gems/sidekiq-8.1.6/lib/active_job/queue_adapters/sidekiq_adapter.rb:13
|
<1%
|
vendor/bundle/ruby/4.0.0/gems/sidekiq-8.1.6/lib/active_job/queue_adapters/sidekiq_adapter.rb:13
- Average Self
-
0.25ms
- Average calls
- 1x
- Total Self
- 0.25ms
- Total Children
- 3,155ms
- Total runtime
- 3,155ms
CreateAutomaticDiagnosisJob#perform
|
|
sql
app/models/expert_subject.rb:83
|
<1%
|
app/models/expert_subject.rb:83
- Average Self
-
0ms
- Average calls
- 0.25x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "institutions".* FROM "institutions" WHERE "institutions"."slug" = ? LIMIT ?
|
|
sql
app/models/expert_subject.rb:84
|
<1%
|
app/models/expert_subject.rb:84
- Average Self
-
0ms
- Average calls
- 0.25x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "institutions".* FROM "institutions" WHERE "institutions"."slug" = ? LIMIT ?
|
|
sql
app/services/diagnosis_creation/create_matches.rb:22
|
<1%
|
app/services/diagnosis_creation/create_matches.rb:22
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "matches".* FROM "matches" INNER JOIN "needs" ON "matches"."need_id" = "needs"."id" WHERE "needs"."diagnosis_id" = ?
|
|
sql
app/models/concerns/mandatory_answers.rb:17
|
<1%
|
app/models/concerns/mandatory_answers.rb:17
- Average Self
-
0ms
- Average calls
- 2x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT ? AS one FROM "subject_questions" WHERE "subject_questions"."subject_id" = ? LIMIT ?
|
|
sql
app/models/concerns/mandatory_answers.rb:19
|
<1%
|
app/models/concerns/mandatory_answers.rb:19
- Average Self
-
0ms
- Average calls
- 2x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT ? AS one FROM "subject_questions" WHERE "subject_questions"."subject_id" = ? LIMIT ?
|
|
code
vendor/bundle/ruby/4.0.0/gems/sidekiq-8.1.6/lib/sidekiq/middleware/chain.rb:182
|
<1%
|
vendor/bundle/ruby/4.0.0/gems/sidekiq-8.1.6/lib/sidekiq/middleware/chain.rb:182
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 3,155ms
- Total runtime
- 3,155ms
|