Request Details

Route
/comments POST
Timestamp
Sep 21, 2026 2:19 PM
Duration
26.44 ms
Status
204
Response Size
3.5 KB
Error
No

Performance Breakdown

Database
62.1% (4 queries)
View Rendering
8.8%
Application Logic
29.1%
Other Operations
0.0%
Total Operations
7
Slowest Operation
31.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 45.5ms 90.9ms 136.4ms 181.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
layouts/application 16 ms 60.5%
SELECT name FROM users 21 ms 79.4%
comments#create 26 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 30 ms 113.5%
SELECT id, name, email FROM users WHERE id = ? 31 ms 117.3%
comments#create 26 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 31 ms 117.3%