Request Details

Route
/posts/:id GET
Timestamp
Nov 22, 2026 7:18 AM
Duration
38.13 ms
Status
200
Response Size
7.8 KB
Error
No

Performance Breakdown

Database
22.5% (2 queries)
View Rendering
36.5%
Application Logic
40.9%
Other Operations
0.0%
Total Operations
6
Slowest Operation
38.13 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 46.6ms 93.1ms 139.7ms 186.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
home/index 35 ms 91.8%
posts#show 38 ms 100.0%
layouts/application 33 ms 86.5%
SELECT COUNT(*) FROM comments WHERE post_id = ? 35 ms 91.8%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 7 ms 18.4%
posts#show 38 ms 100.0%