Request Details

Route
/slow GET
Timestamp
Sep 22, 2026 2:38 PM
Duration
253.56 ms
Status
204
Response Size
67 KB
Error
No

Performance Breakdown

Database
5.2% (4 queries)
View Rendering
34.5%
Application Logic
60.3%
Other Operations
0.0%
Total Operations
19
Slowest Operation
253.56 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 210.3ms 420.6ms 630.8ms 841.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 254 ms 100.0%
home/index 29 ms 11.4%
home#slow 254 ms 100.0%
home/index 11 ms 4.3%
users/index 34 ms 13.4%
SELECT * FROM users WHERE id = ? 15 ms 5.9%
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... 6 ms 2.4%
home/index 6 ms 2.4%
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... 21 ms 8.3%
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 > ? 2 ms 0.8%
home/index 39 ms 15.4%
layouts/application 14 ms 5.5%
posts/show 16 ms 6.3%
posts/show 38 ms 15.0%
home/index 19 ms 7.5%
users/index 11 ms 4.3%
layouts/application 22 ms 8.7%
users/index 11 ms 4.3%
posts/show 40 ms 15.8%