Request Details

Route
/users/:id GET
Timestamp
Nov 10, 2026 7:11 PM
Duration
15.67 ms
Status
201
Response Size
9.7 KB
Error
No

Performance Breakdown

Database
28.7% (3 queries)
View Rendering
50.9%
Application Logic
20.4%
Other Operations
0.0%
Total Operations
8
Slowest Operation
34.0 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 38.3ms 76.7ms 115.0ms 153.3ms

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
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 14 ms 89.4%
users#show 16 ms 100.0%
home/index 17 ms 108.5%
posts/show 27 ms 172.3%
users#show 16 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... 24 ms 153.2%
users/index 34 ms 217.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... 6 ms 38.3%