Request Details

Route
/comments POST
Timestamp
Nov 10, 2026 12:23 AM
Duration
45.97 ms
Status
200
Response Size
11 KB
Error
No

Performance Breakdown

Database
37.9% (3 queries)
View Rendering
0.0%
Application Logic
62.1%
Other Operations
0.0%
Total Operations
4
Slowest Operation
45.97 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
Database
0.0ms 18.5ms 37.0ms 55.5ms 74.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 46 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 4 ms 8.7%
SELECT id, name, email FROM users WHERE id = ? 15 ms 32.6%
SELECT COUNT(*) FROM comments WHERE post_id = ? 9 ms 19.6%