Request Details

Route
/slow GET
Timestamp
Sep 16, 2026 7:54 AM
Duration
488.64 ms
Status
204
Response Size
210 KB
Error
No

Performance Breakdown

Database
1.4% (4 queries)
View Rendering
3.5%
Application Logic
95.1%
Other Operations
0.0%
Total Operations
23
Slowest Operation
488.64 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 1412.3ms 2824.5ms 4236.8ms 5649.0ms

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 19 ms 3.9%
home#slow 489 ms 100.0%
posts/show 36 ms 7.4%
home/index 39 ms 8.0%
home#slow 489 ms 100.0%
home#slow 489 ms 100.0%
home#slow 489 ms 100.0%
posts/show 40 ms 8.2%
users/index 7 ms 1.4%
home/index 8 ms 1.6%
home#slow 489 ms 100.0%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 9 ms 1.8%
home#slow 489 ms 100.0%
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... 33 ms 6.8%
home#slow 489 ms 100.0%
layouts/application 33 ms 6.8%
home#slow 489 ms 100.0%
home#slow 489 ms 100.0%
SELECT name FROM users 24 ms 4.9%
home#slow 489 ms 100.0%
layouts/application 15 ms 3.1%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 11 ms 2.3%
home#slow 489 ms 100.0%