Request Details

Route
/comments POST
Timestamp
Sep 21, 2026 9:06 PM
Duration
35.82 ms
Status
201
Response Size
17 KB
Error
No

Performance Breakdown

Database
16.1% (2 queries)
View Rendering
31.3%
Application Logic
52.6%
Other Operations
0.0%
Total Operations
7
Slowest Operation
40.0 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 51.1ms 102.2ms 153.4ms 204.5ms

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 24 ms 67.0%
comments#create 36 ms 100.0%
comments#create 36 ms 100.0%
users/index 40 ms 111.7%
SELECT name FROM users 25 ms 69.8%
comments#create 36 ms 100.0%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 8 ms 22.3%