|
sql
app/controllers/concerns/inbox.rb:28
|
62%
|
app/controllers/concerns/inbox.rb:28
- Average Self
-
49ms
- Average calls
- 2x
- Total Self
- 97ms
- Total Children
- 0ms
- Total runtime
- 97ms
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 "experts_users" ON "experts"."id" = "experts_users"."expert_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_users"."user_id" = ? AND "experts"."deleted_at" IS NULL AND "matches"."sent_at" IS NOT NULL AND "matches"."archived_at" IS NULL AND "matches"."status" IN (?) AND "needs"."created_at" >= ? AND "needs"."created_at" <= ? ORDER BY "needs"."created_at" DESC, pg_search_266d1c70a4cbe7cdb557b6.rank DESC, "needs"."id" ASC LIMIT ? OFFSET ?
|
|
sql
app/controllers/concerns/search_filters.rb:22
|
12%
|
app/controllers/concerns/search_filters.rb:22
- Average Self
-
58ms
- Average calls
- 0.32x
- Total Self
- 18ms
- Total Children
- 0ms
- Total runtime
- 18ms
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/needs_controller.rb:37
|
4%
|
app/controllers/needs_controller.rb:37
- Average Self
-
6.1ms
- Average calls
- 1x
- Total Self
- 6.1ms
- Total Children
- 142ms
- Total runtime
- 148ms
NeedsController#done
|
|
sql
app/controllers/concerns/inbox.rb:51
|
3%
|
app/controllers/concerns/inbox.rb:51
- Average Self
-
2.9ms
- Average calls
- 1.6x
- Total Self
- 4.7ms
- Total Children
- 0ms
- Total runtime
- 4.7ms
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" >= ?
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"."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" INNER JOIN "experts_users" ON "experts"."id" = "experts_users"."expert_id" WHERE "experts_users"."user_id" = ? AND "experts"."deleted_at" IS NULL 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" 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" <= ?
|
|
view
app/views/needs/_need.html.haml
|
2%
|
app/views/needs/_need.html.haml
- Average Self
-
0.38ms
- Average calls
- 6.7x
- Total Self
- 2.5ms
- Total Children
- 4.2ms
- Total runtime
- 6.8ms
|
|
gc
ruby/gc.c
|
2%
|
ruby/gc.c
- Average Self
-
4.2ms
- Average calls
- 0.57x
- Total Self
- 2.4ms
- Total Children
- 0ms
- Total runtime
- 2.4ms
GC.start
|
|
view
app/views/application/navbar/_app.html.haml
|
1%
|
app/views/application/navbar/_app.html.haml
- Average Self
-
7.1ms
- Average calls
- 0.32x
- Total Self
- 2.3ms
- Total Children
- 3.2ms
- Total runtime
- 5.4ms
|
|
sql
app/helpers/page_infos_helper.rb:4
|
1%
|
app/helpers/page_infos_helper.rb:4
- Average Self
-
6.9ms
- Average calls
- 0.23x
- Total Self
- 1.6ms
- Total Children
- 0ms
- Total runtime
- 1.6ms
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" INNER JOIN "experts_users" ON "experts"."id" = "experts_users"."expert_id" WHERE "experts_users"."user_id" = ? AND "experts"."deleted_at" IS NULL AND "matches"."sent_at" IS NOT NULL AND "matches"."archived_at" IS NULL AND "matches"."status" IN (?)) subquery_for_count
|
|
redis
app/views/needs/_need.html.haml:1
|
<1%
|
app/views/needs/_need.html.haml:1
- Average Self
-
0.51ms
- Average calls
- 3x
- Total Self
- 1.5ms
- Total Children
- 0ms
- Total runtime
- 1.5ms
get
|
|
sql
app/models/need.rb:449
|
<1%
|
app/models/need.rb:449
- Average Self
-
0.8ms
- Average calls
- 1.5x
- Total Self
- 1.2ms
- Total Children
- 0ms
- Total runtime
- 1.2ms
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 ?
|
|
queue
queue
|
<1%
|
queue
- Average Self
-
1.1ms
- Average calls
- 1x
- Total Self
- 1.1ms
- Total Children
- 0ms
- Total runtime
- 1.1ms
|
|
view
app/views/kaminari/_paginator.html.haml
|
<1%
|
app/views/kaminari/_paginator.html.haml
- Average Self
-
1.5ms
- Average calls
- 0.58x
- Total Self
- 0.85ms
- Total Children
- 0.67ms
- Total runtime
- 1.5ms
|
|
view
app/views/shared/_needs_search.haml
|
<1%
|
app/views/shared/_needs_search.haml
- Average Self
-
2.6ms
- Average calls
- 0.32x
- Total Self
- 0.83ms
- Total Children
- 1.9ms
- Total runtime
- 2.8ms
|
|
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.8ms
- Average calls
- 1x
- Total Self
- 0.8ms
- Total Children
- 148ms
- Total runtime
- 149ms
Rack::Attack
|
|
sql
app/views/application/navbar/_app.html.haml:4
|
<1%
|
app/views/application/navbar/_app.html.haml:4
- Average Self
-
2.1ms
- Average calls
- 0.32x
- Total Self
- 0.67ms
- Total Children
- 0ms
- Total runtime
- 0.67ms
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" >= ?
|
|
redis
app/views/needs/_received_needs.haml:4
|
<1%
|
app/views/needs/_received_needs.haml:4
- Average Self
-
1.4ms
- Average calls
- 0.48x
- Total Self
- 0.65ms
- Total Children
- 0ms
- Total runtime
- 0.65ms
mget
|
|
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
- 150ms
- Total runtime
- 151ms
Rails::Rack::Logger
|
|
cache
app/views/needs/_need.html.haml:1
|
<1%
|
app/views/needs/_need.html.haml:1
- Average Self
-
0.15ms
- Average calls
- 3x
- Total Self
- 0.44ms
- Total Children
- 1.5ms
- Total runtime
- 1.9ms
read
write
|
|
sql
app/models/user.rb:326
|
<1%
|
app/models/user.rb:326
- Average Self
-
0.17ms
- Average calls
- 2.5x
- Total Self
- 0.42ms
- Total Children
- 0ms
- Total runtime
- 0.42ms
SELECT ? AS one FROM "user_rights" WHERE "user_rights"."user_id" = ? AND "user_rights"."category" = ? LIMIT ?
|
|
view
app/views/application/_navbar.html.haml
|
<1%
|
app/views/application/_navbar.html.haml
- Average Self
-
1.3ms
- Average calls
- 0.32x
- Total Self
- 0.41ms
- Total Children
- 5.7ms
- Total runtime
- 6.1ms
|
|
view
app/views/application/_head.html.haml
|
<1%
|
app/views/application/_head.html.haml
- Average Self
-
1.3ms
- Average calls
- 0.32x
- Total Self
- 0.4ms
- Total Children
- 0.79ms
- Total runtime
- 1.2ms
|
|
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
- 149ms
- Total runtime
- 149ms
Warden::Manager
|
|
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
-
1.2ms
- Average calls
- 0.32x
- Total Self
- 0.37ms
- Total Children
- 0ms
- Total runtime
- 0.37ms
SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?
|
|
sql
app/helpers/page_infos_helper.rb:19
|
<1%
|
app/helpers/page_infos_helper.rb:19
- Average Self
-
14ms
- Average calls
- 0.02x
- Total Self
- 0.34ms
- Total Children
- 0ms
- Total runtime
- 0.34ms
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" INNER JOIN "experts_users" ON "experts"."id" = "experts_users"."expert_id" INNER JOIN "matches" "matches_needs" ON "matches_needs"."need_id" = "needs"."id" INNER JOIN "experts" "expert" ON "expert"."id" = "matches"."expert_id" INNER JOIN "antennes" ON "antennes"."id" = "expert"."antenne_id" WHERE "experts_users"."user_id" = ? AND "experts"."deleted_at" IS NULL AND "matches"."sent_at" IS NOT NULL AND "matches"."archived_at" IS NULL AND "matches"."status" IN (?) AND "expert"."antenne_id" = ?) subquery_for_count
|
|
view
app/views/kaminari/_page.html.haml
|
<1%
|
app/views/kaminari/_page.html.haml
- Average Self
-
0.12ms
- Average calls
- 2.5x
- Total Self
- 0.31ms
- Total Children
- 0ms
- Total runtime
- 0.31ms
|
|
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.31ms
- Average calls
- 1x
- Total Self
- 0.31ms
- Total Children
- 151ms
- Total runtime
- 151ms
Rack::Timeout
|
|
cache
app/views/needs/_received_needs.haml:4
|
<1%
|
app/views/needs/_received_needs.haml:4
- Average Self
-
0.59ms
- Average calls
- 0.48x
- Total Self
- 0.28ms
- Total Children
- 0.65ms
- Total runtime
- 0.93ms
read_multi
write_multi
|
|
view
app/views/application/_footer.html.haml
|
<1%
|
app/views/application/_footer.html.haml
- Average Self
-
0.82ms
- Average calls
- 0.32x
- Total Self
- 0.26ms
- Total Children
- 0ms
- Total runtime
- 0.26ms
|
|
sql
app/views/application/navbar/_app.html.haml:13
|
<1%
|
app/views/application/navbar/_app.html.haml:13
- Average Self
-
0.78ms
- Average calls
- 0.32x
- Total Self
- 0.25ms
- Total Children
- 0ms
- Total runtime
- 0.25ms
SELECT COUNT(*) FROM "shared_satisfactions" WHERE "shared_satisfactions"."user_id" = ? AND "shared_satisfactions"."seen_at" IS NULL
|
|
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
-
0.24ms
- Average calls
- 1x
- Total Self
- 0.24ms
- Total Children
- 149ms
- Total runtime
- 150ms
ActionDispatch::ContentSecurityPolicy::Middleware
|
|
sql
app/controllers/concerns/search_filters.rb:6
|
<1%
|
app/controllers/concerns/search_filters.rb:6
- Average Self
-
0.76ms
- Average calls
- 0.32x
- Total Self
- 0.24ms
- Total Children
- 0ms
- Total runtime
- 0.24ms
SELECT "subjects".* FROM "subjects" WHERE "subjects"."theme_id" = ? AND "subjects"."archived_at" IS NULL ORDER BY "subjects"."label" ASC
|
|
sql
app/models/user.rb:310
|
<1%
|
app/models/user.rb:310
- Average Self
-
0.19ms
- Average calls
- 1.3x
- Total Self
- 0.24ms
- Total Children
- 0ms
- Total runtime
- 0.24ms
SELECT ? AS one FROM "user_rights" WHERE "user_rights"."user_id" = ? AND "user_rights"."category" = ? LIMIT ?
|
|
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
-
0.18ms
- Average calls
- 1x
- Total Self
- 0.18ms
- Total Children
- 152ms
- Total runtime
- 152ms
ActionDispatch::Executor
|
|
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.17ms
- Average calls
- 1x
- Total Self
- 0.17ms
- Total Children
- 150ms
- Total runtime
- 150ms
ActionDispatch::Cookies
|
|
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.17ms
- Average calls
- 1x
- Total Self
- 0.17ms
- Total Children
- 150ms
- Total runtime
- 150ms
ActionDispatch::Session::CookieStore
|
|
sql
app/helpers/badges_helper.rb:4
|
<1%
|
app/helpers/badges_helper.rb:4
- Average Self
-
0.54ms
- Average calls
- 0.32x
- Total Self
- 0.17ms
- Total Children
- 0ms
- Total runtime
- 0.17ms
SELECT COUNT(*) AS "size", MAX("badges"."updated_at") AS timestamp FROM "badges"
|
|
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.17ms
- Average calls
- 1x
- Total Self
- 0.17ms
- Total Children
- 149ms
- Total runtime
- 149ms
Rack::ETag
|
|
view
app/views/needs/_received_needs.haml
|
<1%
|
app/views/needs/_received_needs.haml
- Average Self
-
0.57ms
- Average calls
- 0.29x
- Total Self
- 0.17ms
- Total Children
- 8.3ms
- Total runtime
- 8.5ms
|
|
sql
app/models/user.rb:318
|
<1%
|
app/models/user.rb:318
- Average Self
-
0.51ms
- Average calls
- 0.32x
- Total Self
- 0.16ms
- Total Children
- 0ms
- Total runtime
- 0.16ms
SELECT ? AS one FROM "user_rights" WHERE "user_rights"."user_id" = ? AND "user_rights"."category" = ? LIMIT ?
|
|
view
app/views/needs/index.html.haml
|
<1%
|
app/views/needs/index.html.haml
- Average Self
-
0.49ms
- Average calls
- 0.32x
- Total Self
- 0.16ms
- Total Children
- 11ms
- Total runtime
- 12ms
|
|
sql
app/models/user.rb:314
|
<1%
|
app/models/user.rb:314
- Average Self
-
0.24ms
- Average calls
- 0.63x
- Total Self
- 0.15ms
- Total Children
- 0ms
- Total runtime
- 0.15ms
SELECT ? AS one FROM "user_rights" WHERE "user_rights"."user_id" = ? AND "user_rights"."category" = ? LIMIT ?
|
|
view
app/views/needs/_menu.html.haml
|
<1%
|
app/views/needs/_menu.html.haml
- Average Self
-
0.48ms
- Average calls
- 0.32x
- Total Self
- 0.15ms
- Total Children
- 0ms
- Total runtime
- 0.15ms
|
|
sql
app/views/application/navbar/_app.html.haml:2
|
<1%
|
app/views/application/navbar/_app.html.haml:2
- Average Self
-
0.46ms
- Average calls
- 0.32x
- Total Self
- 0.15ms
- Total Children
- 0ms
- Total runtime
- 0.15ms
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
|
|
sql
app/policies/need_policy.rb:13
|
<1%
|
app/policies/need_policy.rb:13
- Average Self
-
0.43ms
- Average calls
- 0.32x
- Total Self
- 0.14ms
- Total Children
- 0ms
- Total runtime
- 0.14ms
SELECT "antennes".* FROM "antennes" WHERE "antennes"."id" = ? LIMIT ?
|
|
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.13ms
- Average calls
- 1x
- Total Self
- 0.13ms
- Total Children
- 152ms
- Total runtime
- 152ms
Rails::Engine#call
|
|
view
app/views/layouts/application.html.haml
|
<1%
|
app/views/layouts/application.html.haml
- Average Self
-
0.4ms
- Average calls
- 0.32x
- Total Self
- 0.13ms
- Total Children
- 8ms
- Total runtime
- 8.2ms
|
|
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
-
0.12ms
- Average calls
- 1x
- Total Self
- 0.12ms
- Total Children
- 149ms
- Total runtime
- 149ms
Rack::Head
|
|
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
-
0.12ms
- Average calls
- 1x
- Total Self
- 0.12ms
- Total Children
- 149ms
- Total runtime
- 149ms
Rack::ConditionalGet
|
|
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
-
0.11ms
- Average calls
- 1x
- Total Self
- 0.11ms
- Total Children
- 152ms
- Total runtime
- 152ms
ActionDispatch::Static
|
|
redis
app/views/application/navbar/_app.html.haml:13
|
<1%
|
app/views/application/navbar/_app.html.haml:13
- Average Self
-
0.53ms
- Average calls
- 0.2x
- Total Self
- 0.11ms
- Total Children
- 0ms
- Total runtime
- 0.11ms
get
|
|
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.1ms
- Average calls
- 1x
- Total Self
- 0.1ms
- Total Children
- 150ms
- Total runtime
- 150ms
Appsignal::Rack::RailsInstrumentation
|
|
redis
app/helpers/badges_helper.rb:4
|
<1%
|
app/helpers/badges_helper.rb:4
- Average Self
-
0.33ms
- Average calls
- 0.32x
- Total Self
- 0.1ms
- Total Children
- 0ms
- Total runtime
- 0.1ms
get
|
|
redis
app/views/application/navbar/_app.html.haml:4
|
<1%
|
app/views/application/navbar/_app.html.haml:4
- Average Self
-
0.31ms
- Average calls
- 0.32x
- Total Self
- 0.1ms
- Total Children
- 0ms
- Total runtime
- 0.1ms
get
|
|
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.1ms
- Average calls
- 1x
- Total Self
- 0.1ms
- Total Children
- 152ms
- Total runtime
- 152ms
Appsignal::Rack::EventMiddleware
|
|
cache
app/helpers/badges_helper.rb:4
|
<1%
|
app/helpers/badges_helper.rb:4
- Average Self
-
0.3ms
- Average calls
- 0.32x
- Total Self
- 0.09ms
- Total Children
- 0.42ms
- Total runtime
- 0.52ms
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
-
0.09ms
- Average calls
- 1x
- Total Self
- 0.09ms
- Total Children
- 150ms
- Total runtime
- 150ms
ActionDispatch::DebugExceptions
|
|
rack
ActionDispatch::Flash
|
<1%
|
ActionDispatch::Flash
- Average Self
-
0.08ms
- Average calls
- 1x
- Total Self
- 0.08ms
- Total Children
- 150ms
- Total runtime
- 150ms
|
|
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
-
0.08ms
- Average calls
- 1x
- Total Self
- 0.08ms
- Total Children
- 150ms
- Total runtime
- 150ms
ActionDispatch::ShowExceptions
|
|
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
-
0.08ms
- Average calls
- 1x
- Total Self
- 0.08ms
- Total Children
- 152ms
- Total runtime
- 152ms
ActionDispatch::SSL
|
|
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
-
0.08ms
- Average calls
- 1x
- Total Self
- 0.08ms
- Total Children
- 149ms
- Total runtime
- 149ms
Rack::TempfileReaper
|
|
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.06ms
- Average calls
- 1x
- Total Self
- 0.06ms
- Total Children
- 151ms
- Total runtime
- 151ms
IpAnonymizer::MaskIp
|
|
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.06ms
- Average calls
- 1x
- Total Self
- 0.06ms
- Total Children
- 151ms
- Total runtime
- 151ms
Rails::Rack::SilenceRequest
|
|
view
app/views/needs/_header.html.haml
|
<1%
|
app/views/needs/_header.html.haml
- Average Self
-
0.19ms
- Average calls
- 0.32x
- Total Self
- 0.06ms
- Total Children
- <0.01ms
- Total runtime
- 0.07ms
|
|
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
-
0.06ms
- Average calls
- 1x
- Total Self
- 0.06ms
- Total Children
- 151ms
- Total runtime
- 152ms
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
-
0.06ms
- Average calls
- 1x
- Total Self
- 0.06ms
- Total Children
- 152ms
- Total runtime
- 152ms
Rack::Sendfile
|
|
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
-
0.06ms
- Average calls
- 1x
- Total Self
- 0.06ms
- Total Children
- 151ms
- Total runtime
- 151ms
ActionDispatch::RequestId
|
|
sql
app/views/application/navbar/_app.html.haml:5
|
<1%
|
app/views/application/navbar/_app.html.haml:5
- Average Self
-
12ms
- Average calls
- <0.01x
- Total Self
- 0.06ms
- Total Children
- 0ms
- Total runtime
- 0.06ms
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" >= ?
|
|
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
-
0.06ms
- Average calls
- 1x
- Total Self
- 0.06ms
- Total Children
- 150ms
- Total runtime
- 150ms
ActionDispatch::Callbacks
|
|
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
-
0.06ms
- Average calls
- 1x
- Total Self
- 0.06ms
- Total Children
- 151ms
- Total runtime
- 151ms
Rack::MethodOverride
|
|
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
-
0.05ms
- Average calls
- 1x
- Total Self
- 0.05ms
- Total Children
- 152ms
- Total runtime
- 152ms
ActiveSupport::Cache::Strategy::LocalCache::Middleware
|
|
sql
app/views/application/navbar/_app.html.haml:6
|
<1%
|
app/views/application/navbar/_app.html.haml:6
- Average Self
-
9ms
- Average calls
- <0.01x
- Total Self
- 0.04ms
- Total Children
- 0ms
- Total runtime
- 0.04ms
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" >= ?
|
|
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.04ms
- Average calls
- 1x
- Total Self
- 0.04ms
- Total Children
- 151ms
- Total runtime
- 151ms
ActionDispatch::RemoteIp
|
|
sql
app/views/needs/_empty_placeholder.html.haml:1
|
<1%
|
app/views/needs/_empty_placeholder.html.haml:1
- Average Self
-
1.3ms
- Average calls
- 0.03x
- Total Self
- 0.04ms
- Total Children
- 0ms
- Total runtime
- 0.04ms
SELECT ? AS one 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"."sent_at" IS NOT NULL LIMIT ?
|
|
cache
app/views/application/navbar/_app.html.haml:4
|
<1%
|
app/views/application/navbar/_app.html.haml:4
- Average Self
-
0.1ms
- Average calls
- 0.32x
- Total Self
- 0.03ms
- Total Children
- 0.1ms
- Total runtime
- 0.13ms
read
|
|
view
app/views/kaminari/_last_page.html.haml
|
<1%
|
app/views/kaminari/_last_page.html.haml
- Average Self
-
0.05ms
- Average calls
- 0.5x
- Total Self
- 0.02ms
- Total Children
- 0ms
- Total runtime
- 0.02ms
|
|
view
app/views/kaminari/_next_page.html.haml
|
<1%
|
app/views/kaminari/_next_page.html.haml
- Average Self
-
0.05ms
- Average calls
- 0.5x
- Total Self
- 0.02ms
- Total Children
- 0ms
- Total runtime
- 0.02ms
|
|
view
app/views/needs/_empty_placeholder.html.haml
|
<1%
|
app/views/needs/_empty_placeholder.html.haml
- Average Self
-
0.83ms
- Average calls
- 0.03x
- Total Self
- 0.02ms
- Total Children
- 0.04ms
- Total runtime
- 0.06ms
|
|
view
app/views/kaminari/_prev_page.html.haml
|
<1%
|
app/views/kaminari/_prev_page.html.haml
- Average Self
-
0.04ms
- Average calls
- 0.5x
- Total Self
- 0.02ms
- Total Children
- 0ms
- Total runtime
- 0.02ms
|
|
view
app/views/kaminari/_first_page.html.haml
|
<1%
|
app/views/kaminari/_first_page.html.haml
- Average Self
-
0.04ms
- Average calls
- 0.5x
- Total Self
- 0.02ms
- Total Children
- 0ms
- Total runtime
- 0.02ms
|
|
view
app/views/application/_questionnaire.html.haml
|
<1%
|
app/views/application/_questionnaire.html.haml
- Average Self
-
0.03ms
- Average calls
- 0.32x
- Total Self
- <0.01ms
- Total Children
- 0ms
- Total runtime
- <0.01ms
|
|
view
app/views/kaminari/_gap.html.haml
|
<1%
|
app/views/kaminari/_gap.html.haml
- Average Self
-
0.02ms
- Average calls
- 0.4x
- Total Self
- <0.01ms
- Total Children
- 0ms
- Total runtime
- <0.01ms
|
|
view
app/views/shared/_tarteaucitron.html.erb
|
<1%
|
app/views/shared/_tarteaucitron.html.erb
- Average Self
-
0.03ms
- Average calls
- 0.32x
- Total Self
- <0.01ms
- Total Children
- 0ms
- Total runtime
- <0.01ms
|
|
cache
app/views/application/navbar/_app.html.haml:13
|
<1%
|
app/views/application/navbar/_app.html.haml:13
- Average Self
-
0.03ms
- Average calls
- 0.32x
- Total Self
- <0.01ms
- Total Children
- 0.11ms
- Total runtime
- 0.12ms
read
|
|
view
app/views/shared/_skiplinks.html.haml
|
<1%
|
app/views/shared/_skiplinks.html.haml
- Average Self
-
0.01ms
- Average calls
- 0.32x
- Total Self
- <0.01ms
- Total Children
- 0ms
- Total runtime
- <0.01ms
|
|
view
app/views/shared/_favicon.html.erb
|
<1%
|
app/views/shared/_favicon.html.erb
- Average Self
-
0.01ms
- Average calls
- 0.32x
- Total Self
- <0.01ms
- Total Children
- 0ms
- Total runtime
- <0.01ms
|
|
view
app/views/shared/_breadcrumb.html.haml
|
<1%
|
app/views/shared/_breadcrumb.html.haml
- Average Self
-
0.01ms
- Average calls
- 0.32x
- Total Self
- <0.01ms
- Total Children
- 0ms
- Total runtime
- <0.01ms
|
|
view
app/views/shared/_matomo.html.erb
|
<1%
|
app/views/shared/_matomo.html.erb
- Average Self
-
0ms
- Average calls
- 0.32x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
sql
app/views/application/navbar/_app.html.haml:15
|
<1%
|
app/views/application/navbar/_app.html.haml:15
- Average Self
-
0ms
- Average calls
- <0.01x
- 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
|
|
sql
app/views/application/navbar/_app.html.haml:14
|
<1%
|
app/views/application/navbar/_app.html.haml:14
- Average Self
-
0ms
- Average calls
- <0.01x
- 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/application/_tarteaucitron.html.erb
|
<1%
|
app/views/application/_tarteaucitron.html.erb
- Average Self
-
0ms
- Average calls
- 0.32x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|
|
view
app/views/shared/_dsfr_api.html.erb
|
<1%
|
app/views/shared/_dsfr_api.html.erb
- Average Self
-
0ms
- Average calls
- 0.32x
- 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
- 0.32x
- 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
- 0.32x
- 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
- 0.32x
- Total Self
- 0ms
- Total Children
- 0ms
- Total runtime
- 0ms
|