Request Details

Route
/posts/:id PUT
Timestamp
Sep 22, 2026 8:50 PM
Duration
68.87 ms
Status
204
Response Size
16 KB
Error
No

Performance Breakdown

Database
19.8% (2 queries)
View Rendering
19.4%
Application Logic
60.7%
Other Operations
0.0%
Total Operations
7
Slowest Operation
68.87 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 56.7ms 113.4ms 170.0ms 226.7ms

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#update 69 ms 100.0%
layouts/application 9 ms 13.1%
home/index 16 ms 23.2%
posts#update 69 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 28 ms 40.7%
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 > ? 17 ms 24.7%
users/index 19 ms 27.6%