Request Details

Route
/slow GET
Timestamp
Sep 23, 2026 1:43 AM
Duration
642.77 ms
Status
204
Response Size
110 KB
Error
No

Performance Breakdown

Database
1.3% (4 queries)
View Rendering
5.6%
Application Logic
93.1%
Other Operations
0.0%
Total Operations
20
Slowest Operation
642.77 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 1035.1ms 2070.3ms 3105.4ms 4140.6ms

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
posts/show 24 ms 3.7%
home#slow 643 ms 100.0%
posts/show 31 ms 4.8%
users/index 10 ms 1.6%
posts/show 16 ms 2.5%
SELECT * FROM users WHERE id = ? 7 ms 1.1%
home#slow 643 ms 100.0%
layouts/application 16 ms 2.5%
layouts/application 33 ms 5.1%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 19 ms 3.0%
home#slow 643 ms 100.0%
users/index 21 ms 3.3%
home#slow 643 ms 100.0%
SELECT * FROM users WHERE id = ? 11 ms 1.7%
layouts/application 23 ms 3.6%
home#slow 643 ms 100.0%
posts/show 28 ms 4.4%
SELECT * FROM (SELECT users.id, users.name, users.email, COUNT(posts.id) as post_count FROM users LEFT JOIN posts ON users.id = posts.user_id WHERE users.active = ? GROUP BY users.id) as user_posts JOIN (SELECT user_id, COUNT(*) as comment_count FROM c... 17 ms 2.6%
home#slow 643 ms 100.0%
home/index 28 ms 4.4%