Request Details

Route
/comments POST
Timestamp
Nov 21, 2026 8:41 AM
Duration
68.47 ms
Status
204
Response Size
8.5 KB
Error
No

Performance Breakdown

Database
6.0% (1 query)
View Rendering
35.2%
Application Logic
58.8%
Other Operations
0.0%
Total Operations
7
Slowest Operation
68.47 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 58.2ms 116.5ms 174.7ms 232.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
posts/show 10 ms 14.6%
comments#create 68 ms 100.0%
layouts/application 21 ms 30.7%
comments#create 68 ms 100.0%
users/index 37 ms 54.0%
posts/show 14 ms 20.4%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 14 ms 20.4%