Request Details

Route
/comments POST
Timestamp
Nov 09, 2026 3:57 AM
Duration
48.99 ms
Status
204
Response Size
8.7 KB
Error
No

Performance Breakdown

Database
16.7% (2 queries)
View Rendering
22.1%
Application Logic
61.2%
Other Operations
0.0%
Total Operations
8
Slowest Operation
48.99 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.0ms 120.0ms 180.0ms 240.0ms

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
comments#create 49 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 14 ms 28.6%
posts/show 10 ms 20.4%
comments#create 49 ms 100.0%
comments#create 49 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 26 ms 53.1%
posts/show 27 ms 55.1%
users/index 16 ms 32.7%