Request Details

Route
/slow GET
Timestamp
Sep 23, 2026 2:06 AM
Duration
283.1 ms
Status
201
Response Size
150 KB
Error
No

Performance Breakdown

Database
6.0% (5 queries)
View Rendering
7.6%
Application Logic
86.4%
Other Operations
0.0%
Total Operations
16
Slowest Operation
283.1 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 409.4ms 818.8ms 1228.1ms 1637.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 33 ms 11.7%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 1 ms 0.4%
home/index 31 ms 11.0%
users/index 7 ms 2.5%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 34 ms 12.0%
SELECT * FROM users WHERE id = ? 34 ms 12.0%
home/index 13 ms 4.6%
SELECT COUNT(*) FROM comments WHERE post_id = ? 4 ms 1.4%
home#slow 283 ms 100.0%
home/index 20 ms 7.1%
home#slow 283 ms 100.0%
home#slow 283 ms 100.0%
users/index 20 ms 7.1%
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... 25 ms 8.8%
home#slow 283 ms 100.0%
home#slow 283 ms 100.0%