|
code
app/controllers/conseiller/solicitations_controller.rb:81
|
84%
|
app/controllers/conseiller/solicitations_controller.rb:81
- Average Self
-
1,344ms
- Average calls
- 1x
- Total Self
- 1,344ms
- Total Children
- 212ms
- Total runtime
- 1,556ms
Conseiller::SolicitationsController#prepare_diagnosis
|
|
sql
app/services/diagnosis_creation/create_or_update_facility_and_company.rb:50
|
4%
|
app/services/diagnosis_creation/create_or_update_facility_and_company.rb:50
- Average Self
-
60ms
- Average calls
- 1x
- Total Self
- 60ms
- Total Children
- 0ms
- Total runtime
- 60ms
SELECT "facilities".* FROM "facilities" WHERE "facilities"."siret" = ? LIMIT ?
|
|
sql
app/models/expert.rb:256
|
2%
|
app/models/expert.rb:256
- Average Self
-
69ms
- Average calls
- 0.5x
- Total Self
- 34ms
- Total Children
- 0ms
- Total runtime
- 34ms
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" = ? OR "territorial_zones"."zone_type" = ? AND "territorial_zones"."code" = ? OR "territorial_zones"."zone_type" = ? AND "territorial_zones"."code" = ? OR "antennes"."territorial_level" = ?)
|
|
gc
ruby/gc.c
|
2%
|
ruby/gc.c
- Average Self
-
21ms
- Average calls
- 1.5x
- Total Self
- 32ms
- Total Children
- 0ms
- Total runtime
- 32ms
GC.start
|
|
sql
app/services/diagnosis_creation/create_or_update_facility_and_company.rb:53
|
2%
|
app/services/diagnosis_creation/create_or_update_facility_and_company.rb:53
- Average Self
-
15ms
- Average calls
- 2x
- Total Self
- 31ms
- Total Children
- 0ms
- Total runtime
- 31ms
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/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.5ms
- Average calls
- 2x
- Total Self
- 17ms
- Total Children
- 0ms
- Total runtime
- 17ms
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_or_update_facility_and_company.rb:22
|
<1%
|
app/services/diagnosis_creation/create_or_update_facility_and_company.rb:22
- Average Self
-
14ms
- Average calls
- 1x
- Total Self
- 14ms
- Total Children
- 0ms
- Total runtime
- 14ms
SELECT "companies".* FROM "companies" WHERE "companies"."siren" = ? LIMIT ?
|
|
sql
app/services/diagnosis_creation/create_automatic_diagnosis.rb:15
|
<1%
|
app/services/diagnosis_creation/create_automatic_diagnosis.rb:15
- Average Self
-
2.5ms
- Average calls
- 2x
- Total Self
- 5ms
- Total Children
- 0ms
- Total runtime
- 5ms
UPDATE "solicitations" SET "updated_at" = ? WHERE "solicitations"."id" = ?
COMMIT
|
|
sql
app/services/diagnosis_creation/create_or_update_diagnosis.rb:19
|
<1%
|
app/services/diagnosis_creation/create_or_update_diagnosis.rb:19
- Average Self
-
3.5ms
- Average calls
- 1x
- Total Self
- 3.5ms
- Total Children
- 0ms
- Total runtime
- 3.5ms
UPDATE "diagnoses" SET "updated_at" = ?, "advisor_id" = ? WHERE "diagnoses"."id" = ?
|
|
sql
app/models/concerns/mandatory_answers.rb:30
|
<1%
|
app/models/concerns/mandatory_answers.rb:30
- Average Self
-
0.78ms
- Average calls
- 4.5x
- Total Self
- 3.5ms
- Total Children
- 0ms
- Total runtime
- 3.5ms
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/steps.rb:25
|
<1%
|
app/services/diagnosis_creation/steps.rb:25
- Average Self
-
3ms
- Average calls
- 1x
- Total Self
- 3ms
- Total Children
- 0ms
- Total runtime
- 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/steps.rb:45
|
<1%
|
app/services/diagnosis_creation/steps.rb:45
- Average Self
-
5ms
- Average calls
- 0.5x
- Total Self
- 2.5ms
- Total Children
- 0ms
- Total runtime
- 2.5ms
UPDATE "diagnoses" SET "updated_at" = ?, "step" = ? WHERE "diagnoses"."id" = ?
|
|
sql
app/models/expert.rb:247
|
<1%
|
app/models/expert.rb:247
- Average Self
-
5ms
- Average calls
- 0.5x
- Total Self
- 2.5ms
- Total Children
- 0ms
- Total runtime
- 2.5ms
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/services/diagnosis_creation/create_automatic_diagnosis.rb:36
|
<1%
|
app/services/diagnosis_creation/create_automatic_diagnosis.rb:36
- Average Self
-
0.71ms
- Average calls
- 3.5x
- Total Self
- 2.5ms
- Total Children
- 0ms
- Total runtime
- 2.5ms
SELECT "subject_answers".* FROM "subject_answers" WHERE "subject_answers"."type" = ? AND "subject_answers"."subject_questionable_id" = ? AND "subject_answers"."subject_questionable_type" = ?
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:36
|
<1%
|
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:36
- Average Self
-
4ms
- Average calls
- 0.5x
- Total Self
- 2ms
- Total Children
- 0ms
- Total runtime
- 2ms
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" NOT IN (?)
|
|
sql
app/services/diagnosis_creation/steps.rb:54
|
<1%
|
app/services/diagnosis_creation/steps.rb:54
- Average Self
-
3ms
- Average calls
- 0.5x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
UPDATE "diagnoses" SET "updated_at" = ?, "step" = ? WHERE "diagnoses"."id" = ?
|
|
sql
app/models/diagnosis.rb:134
|
<1%
|
app/models/diagnosis.rb:134
- Average Self
-
0.38ms
- Average calls
- 4x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT "diagnoses".* FROM "diagnoses" INNER JOIN "solicitations" ON "solicitations"."id" = "diagnoses"."solicitation_id" WHERE "solicitations"."id" = ?
|
|
redis
app/services/api.rb:14
|
<1%
|
app/services/api.rb:14
- Average Self
-
0.43ms
- Average calls
- 3.5x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
get
|
|
sql
app/services/diagnosis_creation/create_matches.rb:16
|
<1%
|
app/services/diagnosis_creation/create_matches.rb:16
- Average Self
-
1ms
- Average calls
- 1.5x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
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/steps.rb:51
|
<1%
|
app/services/diagnosis_creation/steps.rb:51
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
SELECT "matches".* FROM "matches" INNER JOIN "needs" ON "matches"."need_id" = "needs"."id" WHERE "needs"."diagnosis_id" = ?
|
|
sql
app/services/diagnosis_creation/steps.rb:40
|
<1%
|
app/services/diagnosis_creation/steps.rb:40
- Average Self
-
1.5ms
- Average calls
- 1x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
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/models/solicitation.rb:608
|
<1%
|
app/models/solicitation.rb:608
- Average Self
-
0.5ms
- Average calls
- 2x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT "landing_subjects".* FROM "landing_subjects" WHERE "landing_subjects"."id" = ? LIMIT ?
SELECT "subjects".* FROM "subjects" WHERE "subjects"."id" = ? LIMIT ?
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/rack-attack-6.8.0/lib/rack/attack.rb:104
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/rack-attack-6.8.0/lib/rack/attack.rb:104
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 1,556ms
- Total runtime
- 1,557ms
Rack::Attack
|
|
sql
app/services/diagnosis_creation/create_automatic_diagnosis.rb:21
|
<1%
|
app/services/diagnosis_creation/create_automatic_diagnosis.rb:21
- Average Self
-
0.5ms
- Average calls
- 2x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
BEGIN
SELECT "diagnoses".* FROM "diagnoses" WHERE "diagnoses"."solicitation_id" = ? LIMIT ?
|
|
cache
app/services/api.rb:14
|
<1%
|
app/services/api.rb:14
- Average Self
-
0.29ms
- Average calls
- 3.5x
- Total Self
- 1ms
- Total Children
- 1.5ms
- Total runtime
- 2.5ms
read
write
|
|
sql
app/models/expert_subject.rb:99
|
<1%
|
app/models/expert_subject.rb:99
- Average Self
-
0.67ms
- Average calls
- 1.5x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
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/services/diagnosis_creation/find_relevant_expert_subjects.rb:76
|
<1%
|
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:76
- Average Self
-
1ms
- Average calls
- 0.5x
- Total Self
- 0.5ms
- Total Children
- 0ms
- Total runtime
- 0.5ms
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 ?
|
|
rack
ActionDispatch::Flash
|
<1%
|
ActionDispatch::Flash
- Average Self
-
0.5ms
- Average calls
- 1x
- Total Self
- 0.5ms
- Total Children
- 1,557ms
- Total runtime
- 1,558ms
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/rack-timeout-0.7.0/lib/rack/timeout/core.rb:90
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/rack-timeout-0.7.0/lib/rack/timeout/core.rb:90
- Average Self
-
0.5ms
- Average calls
- 1x
- Total Self
- 0.5ms
- Total Children
- 1,559ms
- Total runtime
- 1,560ms
Rack::Timeout
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/railties-8.1.3/lib/rails/rack/logger.rb:20
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/railties-8.1.3/lib/rails/rack/logger.rb:20
- Average Self
-
0.5ms
- Average calls
- 1x
- Total Self
- 0.5ms
- Total Children
- 1,559ms
- Total runtime
- 1,559ms
Rails::Rack::Logger
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/appsignal-4.8.4/lib/appsignal/rack/abstract_middleware.rb:26
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/appsignal-4.8.4/lib/appsignal/rack/abstract_middleware.rb:26
- Average Self
-
0.5ms
- Average calls
- 1x
- Total Self
- 0.5ms
- Total Children
- 1,558ms
- Total runtime
- 1,559ms
Appsignal::Rack::RailsInstrumentation
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/events.rb:126
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/events.rb:126
- Average Self
-
0.5ms
- Average calls
- 1x
- Total Self
- 0.5ms
- Total Children
- 1,560ms
- Total runtime
- 1,560ms
Appsignal::Rack::EventMiddleware
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/rack-session-2.1.2/lib/rack/session/abstract/id.rb:267
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/rack-session-2.1.2/lib/rack/session/abstract/id.rb:267
- Average Self
-
0.5ms
- Average calls
- 1x
- Total Self
- 0.5ms
- Total Children
- 1,558ms
- Total runtime
- 1,558ms
ActionDispatch::Session::CookieStore
|
|
sql
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:30
|
<1%
|
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:30
- Average Self
-
0.5ms
- Average calls
- 1x
- Total Self
- 0.5ms
- Total Children
- 0ms
- Total runtime
- 0.5ms
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/services/diagnosis_creation/find_relevant_expert_subjects.rb:31
|
<1%
|
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:31
- Average Self
-
1ms
- Average calls
- 0.5x
- Total Self
- 0.5ms
- Total Children
- 0ms
- Total runtime
- 0.5ms
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/expert_subject.rb:85
|
<1%
|
app/models/expert_subject.rb:85
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "institutions".* FROM "institutions" WHERE "institutions"."slug" = ? LIMIT ?
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/method_override.rb:19
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/method_override.rb:19
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,560ms
- Total runtime
- 1,560ms
Rack::MethodOverride
|
|
sql
app/models/subject.rb:132
|
<1%
|
app/models/subject.rb:132
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "subjects".* FROM "subjects" WHERE "subjects"."slug" = ? LIMIT ?
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/runtime.rb:22
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/runtime.rb:22
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,560ms
- Total runtime
- 1,560ms
Rack::Runtime
|
|
sql
app/models/solicitation.rb:705
|
<1%
|
app/models/solicitation.rb:705
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "spams".* FROM "spams" WHERE "spams"."email" = ? LIMIT ?
|
|
sql
app/controllers/conseiller/solicitations_controller.rb:117
|
<1%
|
app/controllers/conseiller/solicitations_controller.rb:117
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "solicitations".* FROM "solicitations" WHERE "solicitations"."id" = ? LIMIT ?
|
|
sql
app/models/need.rb:462
|
<1%
|
app/models/need.rb:462
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "matches".* FROM "matches" WHERE "matches"."need_id" = ?
|
|
sql
app/models/need.rb:466
|
<1%
|
app/models/need.rb:466
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
UPDATE "diagnoses" SET "updated_at" = ? WHERE "diagnoses"."id" = ?
|
|
sql
app/models/expert.rb:244
|
<1%
|
app/models/expert.rb:244
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
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" = ? OR "territorial_zones"."zone_type" = ? AND "territorial_zones"."code" = ? OR "territorial_zones"."zone_type" = ? AND "territorial_zones"."code" = ?)
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/sendfile.rb:130
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/sendfile.rb:130
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,560ms
- Total runtime
- 1,560ms
Rack::Sendfile
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:14
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:14
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,557ms
- Total runtime
- 1,557ms
Rack::Head
|
|
sql
app/models/facility.rb:84
|
<1%
|
app/models/facility.rb:84
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "companies".* FROM "companies" WHERE "companies"."id" = ? LIMIT ?
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/tempfile_reaper.rb:16
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/tempfile_reaper.rb:16
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,557ms
- Total runtime
- 1,557ms
Rack::TempfileReaper
|
|
sql
app/models/diagnosis.rb:217
|
<1%
|
app/models/diagnosis.rb:217
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "needs".* FROM "needs" WHERE "needs"."diagnosis_id" = ?
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/conditional_get.rb:28
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/conditional_get.rb:28
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,557ms
- Total runtime
- 1,557ms
Rack::ConditionalGet
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/etag.rb:28
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/etag.rb:28
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,557ms
- Total runtime
- 1,557ms
Rack::ETag
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/ssl.rb:88
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/ssl.rb:88
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,560ms
- Total runtime
- 1,560ms
ActionDispatch::SSL
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/railties-8.1.3/lib/rails/rack/silence_request.rb:27
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/railties-8.1.3/lib/rails/rack/silence_request.rb:27
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,559ms
- Total runtime
- 1,559ms
Rails::Rack::SilenceRequest
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/remote_ip.rb:95
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/remote_ip.rb:95
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,559ms
- Total runtime
- 1,559ms
ActionDispatch::RemoteIp
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/request_id.rb:31
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/request_id.rb:31
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,560ms
- Total runtime
- 1,560ms
ActionDispatch::RequestId
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/cookies.rb:706
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/cookies.rb:706
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,558ms
- Total runtime
- 1,558ms
ActionDispatch::Cookies
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/http/content_security_policy.rb:37
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/http/content_security_policy.rb:37
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,557ms
- Total runtime
- 1,557ms
ActionDispatch::ContentSecurityPolicy::Middleware
|
|
sql
app/services/diagnosis_creation/steps.rb:13
|
<1%
|
app/services/diagnosis_creation/steps.rb:13
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
UPDATE "diagnoses" SET "updated_at" = ?, "happened_on" = ? WHERE "diagnoses"."id" = ?
|
|
sql
app/services/diagnosis_creation/steps.rb:18
|
<1%
|
app/services/diagnosis_creation/steps.rb:18
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "contacts".* FROM "contacts" WHERE "contacts"."id" = ? LIMIT ?
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/static.rb:26
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/static.rb:26
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,560ms
- Total runtime
- 1,560ms
ActionDispatch::Static
|
|
sql
app/services/diagnosis_creation/steps.rb:31
|
<1%
|
app/services/diagnosis_creation/steps.rb:31
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "needs".* FROM "needs" WHERE "needs"."diagnosis_id" = ?
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/debug_exceptions.rb:30
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/debug_exceptions.rb:30
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,559ms
- Total runtime
- 1,559ms
ActionDispatch::DebugExceptions
|
|
sql
app/services/diagnosis_creation/steps.rb:42
|
<1%
|
app/services/diagnosis_creation/steps.rb:42
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "subject_answers".* FROM "subject_answers" WHERE "subject_answers"."type" = ? AND "subject_answers"."subject_questionable_id" = ? AND "subject_answers"."subject_questionable_type" = ?
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/show_exceptions.rb:31
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/show_exceptions.rb:31
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,559ms
- Total runtime
- 1,559ms
ActionDispatch::ShowExceptions
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/cache/strategy/local_cache_middleware.rb:28
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/cache/strategy/local_cache_middleware.rb:28
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,560ms
- Total runtime
- 1,560ms
ActiveSupport::Cache::Strategy::LocalCache::Middleware
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/executor.rb:13
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/executor.rb:13
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,560ms
- Total runtime
- 1,560ms
ActionDispatch::Executor
|
|
code
/app/vendor/bundle/ruby/4.0.0/gems/railties-8.1.3/lib/rails/engine.rb:532
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/railties-8.1.3/lib/rails/engine.rb:532
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,560ms
- Total runtime
- 1,560ms
Rails::Engine#call
|
|
sql
vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/notifications/fanout.rb:158
|
<1%
|
vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/notifications/fanout.rb:158
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/callbacks.rb:28
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/middleware/callbacks.rb:28
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,558ms
- Total runtime
- 1,558ms
ActionDispatch::Callbacks
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/warden-1.2.9/lib/warden/manager.rb:30
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/warden-1.2.9/lib/warden/manager.rb:30
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,557ms
- Total runtime
- 1,557ms
Warden::Manager
|
|
sql
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:157
|
<1%
|
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:157
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "facilities".* FROM "facilities" INNER JOIN "diagnoses" ON "facilities"."id" = "diagnoses"."facility_id" WHERE "diagnoses"."id" = ? LIMIT ?
|
|
sql
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:161
|
<1%
|
app/services/diagnosis_creation/find_relevant_expert_subjects.rb:161
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
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/services/diagnosis_creation/create_matches.rb:15
|
<1%
|
app/services/diagnosis_creation/create_matches.rb:15
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "subjects".* FROM "subjects" INNER JOIN "institutions_subjects" ON "subjects"."id" = "institutions_subjects"."subject_id" WHERE "institutions_subjects"."id" = ? LIMIT ?
|
|
queue
queue
|
<1%
|
queue
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
sql
app/services/diagnosis_creation/create_matches.rb:22
|
<1%
|
app/services/diagnosis_creation/create_matches.rb:22
- Average Self
-
0ms
- Average calls
- 0.5x
- 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
- 1x
- 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:24
|
<1%
|
app/models/concerns/mandatory_answers.rb:24
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "subject_questions"."id" FROM "subject_questions" WHERE "subject_questions"."subject_id" = ?
|
|
rack
/app/vendor/bundle/ruby/4.0.0/gems/ip_anonymizer-0.4.0/lib/ip_anonymizer/mask_ip.rb:7
|
<1%
|
/app/vendor/bundle/ruby/4.0.0/gems/ip_anonymizer-0.4.0/lib/ip_anonymizer/mask_ip.rb:7
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1,559ms
- Total runtime
- 1,559ms
IpAnonymizer::MaskIp
|
|
sql
app/models/expert_subject.rb:83
|
<1%
|
app/models/expert_subject.rb:83
- Average Self
-
0ms
- Average calls
- 0.5x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "institutions".* FROM "institutions" WHERE "institutions"."slug" = ? LIMIT ?
|