Request Details

Route
/comments POST
Timestamp
Sep 24, 2026 9:39 AM
Duration
54.36 ms
Status
200
Response Size
10 KB
Error
No

Performance Breakdown

Database
15.1% (1 query)
View Rendering
36.5%
Application Logic
48.4%
Other Operations
0.0%
Total Operations
7
Slowest Operation
54.36 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.2ms 112.4ms 168.5ms 224.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
users/index 22 ms 40.5%
users/index 16 ms 29.4%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 34 ms 62.5%
comments#create 54 ms 100.0%
users/index 10 ms 18.4%
posts/show 34 ms 62.5%
comments#create 54 ms 100.0%