Request Details

Route
/slow GET
Timestamp
Sep 17, 2026 5:39 AM
Duration
216.89 ms
Status
204
Response Size
190 KB
Error
No

Performance Breakdown

Database
7.3% (5 queries)
View Rendering
18.2%
Application Logic
74.5%
Other Operations
0.0%
Total Operations
20
Slowest Operation
216.89 ms

Request Trace

How to read this

Each row is a layer of your stack. Many short Database bars means N+1 queries — fix with includes(). A wide Action bar with little Database time means slow Ruby code. A wide View bar usually means a partial rendered in a loop.

Action
View
Database
Other
Action
View
Database
0.0ms 364.1ms 728.2ms 1092.3ms 1456.5ms

Operations

How to use this

Sort by Impact to find your biggest wins. Click any row for details and optimisation suggestions. The same SQL appearing multiple times is an N+1 — fix with includes(). A single operation above 50% impact is your highest priority.

Operation Duration Impact Timeline Actions
users/index 31 ms 14.3%
layouts/application 18 ms 8.3%
home#slow 217 ms 100.0%
home/index 36 ms 16.6%
layouts/application 5 ms 2.3%
home#slow 217 ms 100.0%
home#slow 217 ms 100.0%
users/index 38 ms 17.5%
SELECT DISTINCT users.*, posts.*, comments.* FROM users, posts, comments WHERE users.id = posts.user_id AND posts.id = comments.post_id AND users.created_at > ? AND posts.created_at > ? AND comments.created_at > ? 14 ms 6.5%
SELECT * FROM posts WHERE created_at > ? 8 ms 3.7%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 21 ms 9.7%
home#slow 217 ms 100.0%
layouts/application 37 ms 17.1%
home#slow 217 ms 100.0%
home/index 36 ms 16.6%
posts/show 30 ms 13.8%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 34 ms 15.7%
SELECT users.* FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id WHERE users.active = ? AND posts.published = ? AND comments.approved = ? OR users.created_at > ? AND posts.created_at > ? AND commen... 30 ms 13.8%
users/index 18 ms 8.3%
users/index 16 ms 7.4%