Request Details

Route
/posts POST
Timestamp
Sep 13, 2026 7:13 PM
Duration
44.63 ms
Status
204
Response Size
14 KB
Error
No

Performance Breakdown

Database
24.9% (2 queries)
View Rendering
19.5%
Application Logic
55.6%
Other Operations
0.0%
Total Operations
7
Slowest Operation
44.63 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 60.2ms 120.5ms 180.7ms 240.9ms

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 COUNT(*) FROM comments WHERE post_id = ? 33 ms 73.9%
posts#create 45 ms 100.0%
posts#create 45 ms 100.0%
layouts/application 36 ms 80.7%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 27 ms 60.5%
users/index 11 ms 24.6%
posts#create 45 ms 100.0%