Request Details

Route
/slow GET
Timestamp
Sep 19, 2026 7:38 AM
Duration
446.79 ms
Status
200
Response Size
58 KB
Error
No

Performance Breakdown

Database
4.3% (6 queries)
View Rendering
9.3%
Application Logic
86.4%
Other Operations
0.0%
Total Operations
18
Slowest Operation
446.79 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 517.3ms 1034.6ms 1551.9ms 2069.1ms

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
home#slow 447 ms 100.0%
SELECT * FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id LEFT JOIN tags ON posts.id = tags.post_id LEFT JOIN categories ON posts.category_id = categories.id WHERE users.active = ? AND posts.publi... 3 ms 0.7%
home#slow 447 ms 100.0%
posts/show 29 ms 6.5%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 9 ms 2.0%
layouts/application 10 ms 2.2%
home#slow 447 ms 100.0%
SELECT * FROM users WHERE id = ? 23 ms 5.1%
users/index 13 ms 2.9%
DELETE FROM comments WHERE created_at < ? 17 ms 3.8%
users/index 26 ms 5.8%
SELECT * FROM posts WHERE created_at > ? 12 ms 2.7%
users/index 37 ms 8.3%
layouts/application 26 ms 5.8%
home#slow 447 ms 100.0%
layouts/application 12 ms 2.7%
home/index 40 ms 9.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 25 ms 5.6%