|
sql
app/controllers/concerns/inbox.rb:46
|
77%
|
app/controllers/concerns/inbox.rb:46
- Average Self
-
92ms
- Average calls
- 7x
- Total Self
- 647ms
- Total Children
- 0ms
- Total runtime
- 647ms
SELECT DISTINCT needs.*, matches.sent_at as match_sent_at, pg_search_266d1c70a4cbe7cdb557b6.rank AS pg_search_rank FROM "needs" INNER JOIN "matches" ON "needs"."id" = "matches"."need_id" INNER JOIN "experts" ON "matches"."expert_id" = "experts"."id" INNER JOIN (SELECT "needs"."id" AS pg_search_id, (ts_rank((to_tsvector(?, unaccent(coalesce(("needs"."content")::text, ?))) || to_tsvector(?, unaccent(coalesce((pg_search_494d24c1a9beb1d8e6b4b3.pg_search_ed8dc47054d1e6d31010d1)::text, ?))) || to_tsvector(?, unaccent(coalesce((pg_search_494d24c1a9beb1d8e6b4b3.pg_search_92086b0aa3ccd60968fbd8)::text, ?))) || to_tsvector(?, unaccent(coalesce((pg_search_70802142d8a2acc990bd88.pg_search_ec314d2e365ec97b0a4160)::text, ?))) || to_tsvector(?, unaccent(coalesce((pg_search_70802142d8a2acc990bd88.pg_search_6726fc8027f40badcdf781)::text, ?))) || to_tsvector(?, unaccent(coalesce((pg_search_867ecf45510664bbb368dc.pg_search_38fa5739bafa415fc2289c)::text, ?))) || to_tsvector(?, unaccent(coalesce((pg_search_28c82e8dc93bdf5313b92b.pg_search_d3d680e076bc1b30107182)::text, ?)))), (to_tsquery(?, ? || unaccent(?) || ? || ?)), ?)) AS rank FROM "needs" LEFT OUTER JOIN (SELECT "needs"."id" AS id, "contacts"."full_name"::text AS pg_search_ed8dc47054d1e6d31010d1, "contacts"."email"::text AS pg_search_92086b0aa3ccd60968fbd8 FROM "needs" INNER JOIN "diagnoses" ON "diagnoses"."id" = "needs"."diagnosis_id" INNER JOIN "contacts" ON "contacts"."id" = "diagnoses"."visitee_id") pg_search_494d24c1a9beb1d8e6b4b3 ON pg_search_494d24c1a9beb1d8e6b4b3.id = "needs"."id" LEFT OUTER JOIN (SELECT "needs"."id" AS id, "companies"."name"::text AS pg_search_ec314d2e365ec97b0a4160, "companies"."siren"::text AS pg_search_6726fc8027f40badcdf781 FROM "needs" INNER JOIN "diagnoses" ON "diagnoses"."id" = "needs"."diagnosis_id" INNER JOIN "facilities" ON "facilities"."id" = "diagnoses"."facility_id" INNER JOIN "companies" ON "companies"."id" = "facilities"."company_id") pg_search_70802142d8a2acc990bd88 ON pg_search_70802142d8a2acc990bd88.id = "needs"."id" LEFT OUTER JOIN (SELECT "needs"."id" AS id, "facilities"."readable_locality"::text AS pg_search_38fa5739bafa415fc2289c FROM "needs" INNER JOIN "diagnoses" ON "diagnoses"."id" = "needs"."diagnosis_id" INNER JOIN "facilities" ON "facilities"."id" = "diagnoses"."facility_id") pg_search_867ecf45510664bbb368dc ON pg_search_867ecf45510664bbb368dc.id = "needs"."id" LEFT OUTER JOIN (SELECT "needs"."id" AS id, "subjects"."label"::text AS pg_search_d3d680e076bc1b30107182 FROM "needs" INNER JOIN "subjects" ON "subjects"."id" = "needs"."subject_id") pg_search_28c82e8dc93bdf5313b92b ON pg_search_28c82e8dc93bdf5313b92b.id = "needs"."id" WHERE ((to_tsvector(?, unaccent(coalesce(("needs"."content")::text, ?))) || to_tsvector(?, unaccent(coalesce((pg_search_494d24c1a9beb1d8e6b4b3.pg_search_ed8dc47054d1e6d31010d1)::text, ?))) || to_tsvector(?, unaccent(coalesce((pg_search_494d24c1a9beb1d8e6b4b3.pg_search_92086b0aa3ccd60968fbd8)::text, ?))) || to_tsvector(?, unaccent(coalesce((pg_search_70802142d8a2acc990bd88.pg_search_ec314d2e365ec97b0a4160)::text, ?))) || to_tsvector(?, unaccent(coalesce((pg_search_70802142d8a2acc990bd88.pg_search_6726fc8027f40badcdf781)::text, ?))) || to_tsvector(?, unaccent(coalesce((pg_search_867ecf45510664bbb368dc.pg_search_38fa5739bafa415fc2289c)::text, ?))) || to_tsvector(?, unaccent(coalesce((pg_search_28c82e8dc93bdf5313b92b.pg_search_d3d680e076bc1b30107182)::text, ?)))) @@ (to_tsquery(?, ? || unaccent(?) || ? || ?)))) AS pg_search_266d1c70a4cbe7cdb557b6 ON "needs"."id" = pg_search_266d1c70a4cbe7cdb557b6.pg_search_id WHERE "experts"."antenne_id" = ? AND "matches"."sent_at" IS NOT NULL AND "matches"."archived_at" IS NULL AND "matches"."status" IN (?) ORDER BY pg_search_266d1c70a4cbe7cdb557b6.rank DESC, "needs"."id" ASC, "needs"."created_at" DESC LIMIT ? OFFSET ?
SELECT "diagnoses".* FROM "diagnoses" WHERE "diagnoses"."id" IN (?)
SELECT "facilities".* FROM "facilities" WHERE "facilities"."id" IN (?)
SELECT "companies".* FROM "companies" WHERE "companies"."id" IN (?)
SELECT "subjects".* FROM "subjects" WHERE "subjects"."id" IN (?)
SELECT "solicitations".* FROM "solicitations" WHERE "solicitations"."id" IN (?)
SELECT "themes".* FROM "themes" WHERE "themes"."id" IN (?)
|
|
sql
app/controllers/concerns/search_filters.rb:22
|
6%
|
app/controllers/concerns/search_filters.rb:22
- Average Self
-
47ms
- Average calls
- 1x
- Total Self
- 47ms
- Total Children
- 0ms
- Total runtime
- 47ms
SELECT DISTINCT "themes".* FROM "themes" INNER JOIN "subjects" ON "subjects"."theme_id" = "themes"."id" INNER JOIN "needs" ON "needs"."subject_id" = "subjects"."id" WHERE "subjects"."archived_at" IS NULL AND "subjects"."id" IN (?)
|
|
code
app/controllers/manager/needs_controller.rb:27
|
3%
|
app/controllers/manager/needs_controller.rb:27
- Average Self
-
24ms
- Average calls
- 1x
- Total Self
- 24ms
- Total Children
- 800ms
- Total runtime
- 824ms
Manager::NeedsController#done
|
|
view
app/views/needs/_need.html.haml
|
2%
|
app/views/needs/_need.html.haml
- Average Self
-
0.87ms
- Average calls
- 20x
- Total Self
- 17ms
- Total Children
- 13ms
- Total runtime
- 31ms
|
|
view
app/views/shared/_needs_search.haml
|
1%
|
app/views/shared/_needs_search.haml
- Average Self
-
9.8ms
- Average calls
- 1x
- Total Self
- 9.8ms
- Total Children
- 11ms
- Total runtime
- 20ms
|
|
sql
app/controllers/concerns/inbox.rb:56
|
1%
|
app/controllers/concerns/inbox.rb:56
- Average Self
-
1.8ms
- Average calls
- 5x
- Total Self
- 9.2ms
- Total Children
- 0ms
- Total runtime
- 9.2ms
SELECT COUNT(DISTINCT "needs"."id") FROM "needs" INNER JOIN "matches" ON "needs"."id" = "matches"."need_id" INNER JOIN "experts" ON "matches"."expert_id" = "experts"."id" WHERE "experts"."antenne_id" = ? AND "matches"."archived_at" IS NULL AND "matches"."status" = ? AND "matches"."sent_at" >= ?
SELECT COUNT(DISTINCT "needs"."id") FROM "needs" INNER JOIN "matches" ON "needs"."id" = "matches"."need_id" INNER JOIN "experts" ON "matches"."expert_id" = "experts"."id" WHERE "experts"."antenne_id" = ? AND "matches"."sent_at" IS NOT NULL AND "matches"."archived_at" IS NULL AND "matches"."status" = ?
SELECT COUNT(DISTINCT "needs"."id") FROM "needs" INNER JOIN "matches" ON "needs"."id" = "matches"."need_id" INNER JOIN "experts" ON "matches"."expert_id" = "experts"."id" WHERE "experts"."antenne_id" = ? AND "matches"."sent_at" IS NOT NULL AND "matches"."archived_at" IS NULL AND "matches"."status" IN (?)
SELECT COUNT(DISTINCT "needs"."id") FROM "needs" INNER JOIN "matches" ON "needs"."id" = "matches"."need_id" INNER JOIN "experts" ON "matches"."expert_id" = "experts"."id" WHERE "experts"."antenne_id" = ? AND "matches"."archived_at" IS NULL AND "matches"."status" = ? AND "matches"."sent_at" <= ?
|
|
sql
app/models/subject.rb:127
|
<1%
|
app/models/subject.rb:127
- Average Self
-
0.37ms
- Average calls
- 20x
- Total Self
- 7.6ms
- Total Children
- 0ms
- Total runtime
- 7.6ms
SELECT ? AS one FROM "cooperations" INNER JOIN "cooperation_themes" ON "cooperations"."id" = "cooperation_themes"."cooperation_id" INNER JOIN "themes" ON "cooperation_themes"."theme_id" = "themes"."id" WHERE "themes"."id" = ? LIMIT ?
|
|
gc
ruby/gc.c
|
<1%
|
ruby/gc.c
- Average Self
-
12ms
- Average calls
- 0.6x
- Total Self
- 7.4ms
- Total Children
- 0ms
- Total runtime
- 7.4ms
GC.start
|
|
view
app/views/application/navbar/_app.html.haml
|
<1%
|
app/views/application/navbar/_app.html.haml
- Average Self
-
7ms
- Average calls
- 1x
- Total Self
- 7ms
- Total Children
- 6.2ms
- Total runtime
- 13ms
|
|
redis
app/views/needs/_need.html.haml:1
|
<1%
|
app/views/needs/_need.html.haml:1
- Average Self
-
0.42ms
- Average calls
- 12x
- Total Self
- 5.4ms
- Total Children
- 0ms
- Total runtime
- 5.4ms
get
|
|
sql
app/models/need.rb:449
|
<1%
|
app/models/need.rb:449
- Average Self
-
0.56ms
- Average calls
- 6.4x
- Total Self
- 3.6ms
- Total Children
- 0ms
- Total runtime
- 3.6ms
SELECT "cooperations".* FROM "cooperations" INNER JOIN "solicitations" ON "cooperations"."id" = "solicitations"."cooperation_id" INNER JOIN "diagnoses" ON "solicitations"."id" = "diagnoses"."solicitation_id" WHERE "diagnoses"."id" = ? LIMIT ?
|
|
view
app/views/kaminari/_paginator.html.haml
|
<1%
|
app/views/kaminari/_paginator.html.haml
- Average Self
-
1.6ms
- Average calls
- 2x
- Total Self
- 3.2ms
- Total Children
- 2.2ms
- Total runtime
- 5.4ms
|
|
sql
app/helpers/page_infos_helper.rb:19
|
<1%
|
app/helpers/page_infos_helper.rb:19
- Average Self
-
3.8ms
- Average calls
- 0.8x
- Total Self
- 3ms
- Total Children
- 0ms
- Total runtime
- 3ms
SELECT COUNT(*) FROM (SELECT DISTINCT needs.*, matches.sent_at as match_sent_at FROM "needs" INNER JOIN "matches" ON "needs"."id" = "matches"."need_id" INNER JOIN "experts" ON "matches"."expert_id" = "experts"."id" WHERE "experts"."antenne_id" = ? AND "matches"."sent_at" IS NOT NULL AND "matches"."archived_at" IS NULL AND "matches"."status" IN (?)) subquery_for_count
|
|
sql
app/controllers/concerns/search_filters.rb:6
|
<1%
|
app/controllers/concerns/search_filters.rb:6
- Average Self
-
0.9ms
- Average calls
- 2x
- Total Self
- 1.8ms
- Total Children
- 0ms
- Total runtime
- 1.8ms
SELECT "subjects".* FROM "subjects" WHERE "subjects"."theme_id" IN (?) AND "subjects"."archived_at" IS NULL ORDER BY "subjects"."label" ASC
SELECT DISTINCT "cooperations".* FROM "cooperations" INNER JOIN "solicitations" ON "solicitations"."cooperation_id" = "cooperations"."id" INNER JOIN "diagnoses" ON "diagnoses"."solicitation_id" = "solicitations"."id" INNER JOIN "needs" ON "needs"."diagnosis_id" = "diagnoses"."id" WHERE "cooperations"."external" = ? AND "needs"."id" IN (?) ORDER BY "cooperations"."name" ASC
|
|
cache
app/views/needs/_need.html.haml:1
|
<1%
|
app/views/needs/_need.html.haml:1
- Average Self
-
0.13ms
- Average calls
- 12x
- Total Self
- 1.6ms
- Total Children
- 5.4ms
- Total runtime
- 7ms
read
write
|
|
sql
app/models/user.rb:326
|
<1%
|
app/models/user.rb:326
- Average Self
-
0.23ms
- Average calls
- 7x
- Total Self
- 1.6ms
- Total Children
- 0ms
- Total runtime
- 1.6ms
SELECT ? AS one FROM "user_rights" WHERE "user_rights"."user_id" = ? AND "user_rights"."category" = ? LIMIT ?
|
|
view
app/views/application/_head.html.haml
|
<1%
|
app/views/application/_head.html.haml
- Average Self
-
1.4ms
- Average calls
- 1x
- Total Self
- 1.4ms
- Total Children
- 2ms
- Total runtime
- 3.4ms
|
|
view
app/views/application/_navbar.html.haml
|
<1%
|
app/views/application/_navbar.html.haml
- Average Self
-
1.4ms
- Average calls
- 1x
- Total Self
- 1.4ms
- Total Children
- 14ms
- Total runtime
- 16ms
|
|
redis
app/views/needs/_received_needs.haml:4
|
<1%
|
app/views/needs/_received_needs.haml:4
- Average Self
-
0.67ms
- Average calls
- 1.8x
- Total Self
- 1.2ms
- Total Children
- 0ms
- Total runtime
- 1.2ms
mget
|
|
cache
app/models/antenne.rb:220
|
<1%
|
app/models/antenne.rb:220
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
read
|
|
sql
app/models/user.rb:310
|
<1%
|
app/models/user.rb:310
- Average Self
-
0.14ms
- Average calls
- 7x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
SELECT ? AS one FROM "user_rights" WHERE "user_rights"."user_id" = ? AND "user_rights"."category" = ? LIMIT ?
|
|
queue
queue
|
<1%
|
queue
- Average Self
-
1ms
- Average calls
- 1x
- Total Self
- 1ms
- Total Children
- 0ms
- Total runtime
- 1ms
|
|
view
app/views/kaminari/_page.html.haml
|
<1%
|
app/views/kaminari/_page.html.haml
- Average Self
-
0.14ms
- Average calls
- 5.6x
- Total Self
- 0.8ms
- Total Children
- 0ms
- Total runtime
- 0.8ms
|
|
sql
app/views/application/navbar/_app.html.haml:4
|
<1%
|
app/views/application/navbar/_app.html.haml:4
- Average Self
-
1ms
- Average calls
- 0.8x
- Total Self
- 0.8ms
- Total Children
- 0ms
- Total runtime
- 0.8ms
SELECT COUNT(DISTINCT "needs"."id") FROM "needs" INNER JOIN "matches" ON "needs"."id" = "matches"."need_id" INNER JOIN "experts" ON "matches"."expert_id" = "experts"."id" INNER JOIN "experts_users" ON "experts"."id" = "experts_users"."expert_id" WHERE "experts_users"."user_id" = ? AND "experts"."deleted_at" IS NULL AND "matches"."archived_at" IS NULL AND "matches"."status" = ? AND "matches"."sent_at" >= ?
|
|
sql
app/services/build_antennes_collection.rb:31
|
<1%
|
app/services/build_antennes_collection.rb:31
- Average Self
-
0.36ms
- Average calls
- 2.2x
- Total Self
- 0.8ms
- Total Children
- 0ms
- Total runtime
- 0.8ms
SELECT "antennes"."id" FROM "antennes" WHERE "antennes"."id" = ?
SELECT "antennes".* FROM "antennes" WHERE "antennes"."id" = ?
SELECT "antennes"."id" FROM "antennes" WHERE "antennes"."parent_antenne_id" = ?
|
|
cache
app/views/needs/_received_needs.haml:4
|
<1%
|
app/views/needs/_received_needs.haml:4
- Average Self
-
0.33ms
- Average calls
- 1.8x
- Total Self
- 0.6ms
- Total Children
- 1.2ms
- Total runtime
- 1.8ms
read_multi
write_multi
|
|
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
-
0.6ms
- Average calls
- 1x
- Total Self
- 0.6ms
- Total Children
- 828ms
- Total runtime
- 828ms
Rails::Engine#call
|
|
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
-
0.6ms
- Average calls
- 1x
- Total Self
- 0.6ms
- Total Children
- 824ms
- Total runtime
- 825ms
Rack::Attack
|
|
view
app/views/application/_footer.html.haml
|
<1%
|
app/views/application/_footer.html.haml
- Average Self
-
0.6ms
- Average calls
- 1x
- Total Self
- 0.6ms
- Total Children
- 0ms
- Total runtime
- 0.6ms
|
|
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
-
0.6ms
- Average calls
- 1x
- Total Self
- 0.6ms
- Total Children
- 826ms
- Total runtime
- 826ms
ActionDispatch::Cookies
|
|
sql
app/services/build_antennes_collection.rb:36
|
<1%
|
app/services/build_antennes_collection.rb:36
- Average Self
-
0.3ms
- Average calls
- 2x
- Total Self
- 0.6ms
- Total Children
- 0ms
- Total runtime
- 0.6ms
SELECT "antennes".* FROM "antennes" WHERE "antennes"."id" = ? ORDER BY "antennes"."id" ASC LIMIT ?
SELECT "antennes".* FROM "antennes" WHERE "antennes"."parent_antenne_id" = ?
|
|
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
-
0.6ms
- Average calls
- 1x
- Total Self
- 0.6ms
- Total Children
- 825ms
- Total runtime
- 826ms
Rack::ETag
|
|
view
app/views/needs/_received_needs.haml
|
<1%
|
app/views/needs/_received_needs.haml
- Average Self
-
0.4ms
- Average calls
- 1x
- Total Self
- 0.4ms
- Total Children
- 36ms
- Total runtime
- 37ms
|
|
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.4ms
- Average calls
- 1x
- Total Self
- 0.4ms
- Total Children
- 827ms
- Total runtime
- 828ms
Rack::Timeout
|
|
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
-
0.4ms
- Average calls
- 1x
- Total Self
- 0.4ms
- Total Children
- 825ms
- Total runtime
- 825ms
Warden::Manager
|
|
view
app/views/application/_questionnaire.html.haml
|
<1%
|
app/views/application/_questionnaire.html.haml
- Average Self
-
0.2ms
- Average calls
- 1x
- Total Self
- 0.2ms
- Total Children
- 0ms
- Total runtime
- 0.2ms
|
|
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
-
0.2ms
- Average calls
- 1x
- Total Self
- 0.2ms
- Total Children
- 827ms
- Total runtime
- 827ms
ActionDispatch::RemoteIp
|
|
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
-
0.2ms
- Average calls
- 1x
- Total Self
- 0.2ms
- Total Children
- 827ms
- Total runtime
- 827ms
Rails::Rack::SilenceRequest
|
|
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.2ms
- Average calls
- 1x
- Total Self
- 0.2ms
- Total Children
- 826ms
- Total runtime
- 827ms
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.2ms
- Average calls
- 1x
- Total Self
- 0.2ms
- Total Children
- 828ms
- Total runtime
- 828ms
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.2ms
- Average calls
- 1x
- Total Self
- 0.2ms
- Total Children
- 826ms
- Total runtime
- 826ms
ActionDispatch::Session::CookieStore
|
|
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
-
0.2ms
- Average calls
- 1x
- Total Self
- 0.2ms
- Total Children
- 827ms
- Total runtime
- 827ms
IpAnonymizer::MaskIp
|
|
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
-
0.2ms
- Average calls
- 1x
- Total Self
- 0.2ms
- Total Children
- 0ms
- Total runtime
- 0.2ms
SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?
|
|
sql
app/views/application/navbar/_app.html.haml:2
|
<1%
|
app/views/application/navbar/_app.html.haml:2
- Average Self
-
0.2ms
- Average calls
- 1x
- Total Self
- 0.2ms
- Total Children
- 0ms
- Total runtime
- 0.2ms
SELECT "experts".* FROM "experts" INNER JOIN "experts_users" ON "experts"."id" = "experts_users"."expert_id" WHERE "experts_users"."user_id" = ? AND "experts"."deleted_at" IS NULL
|
|
view
app/views/layouts/application.html.haml
|
<1%
|
app/views/layouts/application.html.haml
- Average Self
-
0.2ms
- Average calls
- 1x
- Total Self
- 0.2ms
- Total Children
- 22ms
- Total runtime
- 22ms
|
|
view
app/views/kaminari/_last_page.html.haml
|
<1%
|
app/views/kaminari/_last_page.html.haml
- Average Self
-
0.13ms
- Average calls
- 1.6x
- Total Self
- 0.2ms
- Total Children
- 0ms
- Total runtime
- 0.2ms
|
|
view
app/views/manager/needs/_menu.html.haml
|
<1%
|
app/views/manager/needs/_menu.html.haml
- Average Self
-
0.2ms
- Average calls
- 1x
- Total Self
- 0.2ms
- Total Children
- 0ms
- Total runtime
- 0.2ms
|
|
redis
app/models/antenne.rb:220
|
<1%
|
app/models/antenne.rb:220
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
get
|
|
sql
app/models/user.rb:344
|
<1%
|
app/models/user.rb:344
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT DISTINCT "antennes".* FROM "antennes" INNER JOIN "user_rights" ON "antennes"."id" = "user_rights"."rightable_element_id" INNER JOIN "user_rights" "user_rights_antennes" ON "user_rights_antennes"."rightable_element_type" = ? AND "user_rights_antennes"."rightable_element_id" = "antennes"."id" WHERE "user_rights"."user_id" = ? AND "user_rights"."category" = ? AND "user_rights"."rightable_element_type" = ?
|
|
sql
app/models/user.rb:345
|
<1%
|
app/models/user.rb:345
- Average Self
-
0ms
- Average calls
- 0.4x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "antennes"."id" FROM "antennes" WHERE "antennes"."parent_antenne_id" = ?
|
|
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
- 828ms
- Total runtime
- 828ms
Rack::MethodOverride
|
|
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
- 828ms
- Total runtime
- 828ms
Rack::Runtime
|
|
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
- 828ms
- Total runtime
- 828ms
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
- 826ms
- Total runtime
- 826ms
Rack::Head
|
|
sql
app/policies/need_policy.rb:13
|
<1%
|
app/policies/need_policy.rb:13
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "antennes".* FROM "antennes" WHERE "antennes"."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
- 825ms
- Total runtime
- 825ms
Rack::TempfileReaper
|
|
sql
app/controllers/manager/needs_controller.rb:43
|
<1%
|
app/controllers/manager/needs_controller.rb:43
- Average Self
-
0ms
- Average calls
- 2x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "antennes".* FROM "antennes" WHERE "antennes"."id" = ? AND "antennes"."id" = ? LIMIT ?
|
|
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
- 826ms
- Total runtime
- 826ms
Rack::ConditionalGet
|
|
sql
app/services/build_antennes_collection.rb:32
|
<1%
|
app/services/build_antennes_collection.rb:32
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT "antennes".* FROM "antennes" WHERE "antennes"."deleted_at" IS NULL AND "antennes"."id" = ?
|
|
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
- 828ms
- Total runtime
- 828ms
ActionDispatch::SSL
|
|
sql
app/services/build_antennes_collection.rb:56
|
<1%
|
app/services/build_antennes_collection.rb:56
- Average Self
-
0ms
- Average calls
- 0.2x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT DISTINCT "antennes"."id" FROM "antennes" INNER JOIN "user_rights" ON "antennes"."id" = "user_rights"."rightable_element_id" INNER JOIN "user_rights" "user_rights_antennes" ON "user_rights_antennes"."rightable_element_type" = ? AND "user_rights_antennes"."rightable_element_id" = "antennes"."id" WHERE "user_rights"."user_id" = ? AND "user_rights"."category" = ? AND "user_rights"."rightable_element_type" = ?
|
|
sql
app/services/build_antennes_collection.rb:57
|
<1%
|
app/services/build_antennes_collection.rb:57
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT DISTINCT "antennes".* FROM "antennes" INNER JOIN "user_rights" ON "antennes"."id" = "user_rights"."rightable_element_id" INNER JOIN "user_rights" "user_rights_antennes" ON "user_rights_antennes"."rightable_element_type" = ? AND "user_rights_antennes"."rightable_element_id" = "antennes"."id" WHERE "user_rights"."user_id" = ? AND "user_rights"."category" = ? AND "user_rights"."rightable_element_type" = ? AND "antennes"."territorial_level" = ?
|
|
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
- 828ms
- Total runtime
- 828ms
ActionDispatch::RequestId
|
|
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
- 826ms
- Total runtime
- 826ms
ActionDispatch::ContentSecurityPolicy::Middleware
|
|
view
app/views/application/_tarteaucitron.html.erb
|
<1%
|
app/views/application/_tarteaucitron.html.erb
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
sql
app/helpers/badges_helper.rb:4
|
<1%
|
app/helpers/badges_helper.rb:4
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT COUNT(*) AS "size", MAX("badges"."updated_at") AS timestamp FROM "badges"
|
|
view
app/views/shared/_dsfr_api.html.erb
|
<1%
|
app/views/shared/_dsfr_api.html.erb
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
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
- 828ms
- Total runtime
- 828ms
ActionDispatch::Static
|
|
sql
app/views/application/navbar/_app.html.haml:13
|
<1%
|
app/views/application/navbar/_app.html.haml:13
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT COUNT(*) FROM "shared_satisfactions" WHERE "shared_satisfactions"."user_id" = ? AND "shared_satisfactions"."seen_at" IS NULL
|
|
view
app/views/shared/_favicon.html.erb
|
<1%
|
app/views/shared/_favicon.html.erb
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
cache
app/views/application/navbar/_app.html.haml:13
|
<1%
|
app/views/application/navbar/_app.html.haml:13
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
read
|
|
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
- 827ms
- Total runtime
- 827ms
ActionDispatch::DebugExceptions
|
|
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
- 827ms
- Total runtime
- 827ms
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
- 828ms
- Total runtime
- 828ms
ActiveSupport::Cache::Strategy::LocalCache::Middleware
|
|
view
app/views/shared/_breadcrumb.html.haml
|
<1%
|
app/views/shared/_breadcrumb.html.haml
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
view
app/views/shared/_skiplinks.html.haml
|
<1%
|
app/views/shared/_skiplinks.html.haml
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
view
app/views/shared/_flashes.html.haml
|
<1%
|
app/views/shared/_flashes.html.haml
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
view
app/views/shared/_user_impersonate.html.haml
|
<1%
|
app/views/shared/_user_impersonate.html.haml
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
view
app/views/shared/_environment_ribbon.html.haml
|
<1%
|
app/views/shared/_environment_ribbon.html.haml
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
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
- 828ms
- Total runtime
- 828ms
ActionDispatch::Executor
|
|
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
- 826ms
- Total runtime
- 826ms
ActionDispatch::Callbacks
|
|
view
app/views/kaminari/_next_page.html.haml
|
<1%
|
app/views/kaminari/_next_page.html.haml
- Average Self
-
0ms
- Average calls
- 1.6x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
view
app/views/kaminari/_first_page.html.haml
|
<1%
|
app/views/kaminari/_first_page.html.haml
- Average Self
-
0ms
- Average calls
- 1.6x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
view
app/views/kaminari/_prev_page.html.haml
|
<1%
|
app/views/kaminari/_prev_page.html.haml
- Average Self
-
0ms
- Average calls
- 1.6x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
cache
app/views/application/navbar/_app.html.haml:4
|
<1%
|
app/views/application/navbar/_app.html.haml:4
- Average Self
-
0ms
- Average calls
- 0.8x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
read
|
|
view
app/views/kaminari/_gap.html.haml
|
<1%
|
app/views/kaminari/_gap.html.haml
- Average Self
-
0ms
- Average calls
- 0.8x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
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
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 827ms
- Total runtime
- 827ms
Rails::Rack::Logger
|
|
view
app/views/shared/_matomo.html.erb
|
<1%
|
app/views/shared/_matomo.html.erb
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
view
app/views/shared/_tarteaucitron.html.erb
|
<1%
|
app/views/shared/_tarteaucitron.html.erb
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
view
app/views/manager/needs/index.html.haml
|
<1%
|
app/views/manager/needs/index.html.haml
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 60ms
- Total runtime
- 60ms
|
|
view
app/views/manager/needs/_header.html.haml
|
<1%
|
app/views/manager/needs/_header.html.haml
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
cache
app/helpers/badges_helper.rb:4
|
<1%
|
app/helpers/badges_helper.rb:4
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 1ms
- Total runtime
- 1ms
read
|
|
rack
ActionDispatch::Flash
|
<1%
|
ActionDispatch::Flash
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 826ms
- Total runtime
- 826ms
|
|
redis
app/views/application/navbar/_app.html.haml:4
|
<1%
|
app/views/application/navbar/_app.html.haml:4
- Average Self
-
0ms
- Average calls
- 0.8x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
get
|
|
redis
app/views/application/navbar/_app.html.haml:13
|
<1%
|
app/views/application/navbar/_app.html.haml:13
- Average Self
-
0ms
- Average calls
- 0.6x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
get
|
|
redis
app/helpers/badges_helper.rb:4
|
<1%
|
app/helpers/badges_helper.rb:4
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
get
|
|
sql
app/models/user.rb:314
|
<1%
|
app/models/user.rb:314
- Average Self
-
0ms
- Average calls
- 2x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT ? AS one FROM "user_rights" WHERE "user_rights"."user_id" = ? AND "user_rights"."category" = ? LIMIT ?
|
|
sql
app/models/user.rb:318
|
<1%
|
app/models/user.rb:318
- Average Self
-
0ms
- Average calls
- 1x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
SELECT ? AS one FROM "user_rights" WHERE "user_rights"."user_id" = ? AND "user_rights"."category" = ? LIMIT ?
|