Request Details

Route
/posts/:id GET
Timestamp
Sep 23, 2026 1:34 AM
Duration
39.1 ms
Status
200
Response Size
11 KB
Error
No

Performance Breakdown

Database
34.1% (3 queries)
View Rendering
42.5%
Application Logic
23.4%
Other Operations
0.0%
Total Operations
7
Slowest Operation
39.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 41.8ms 83.5ms 125.3ms 167.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
users/index 27 ms 69.1%
SELECT * FROM users WHERE id = ? 21 ms 53.7%
home/index 19 ms 48.6%
layouts/application 25 ms 63.9%
SELECT COUNT(*) FROM comments WHERE post_id = ? 32 ms 81.9%
DELETE FROM comments WHERE created_at < ? 4 ms 10.2%
posts#show 39 ms 100.0%