Request Details

Route
/comments POST
Timestamp
Sep 22, 2026 11:11 PM
Duration
42.08 ms
Status
200
Response Size
14 KB
Error
No

Performance Breakdown

Database
21.6% (2 queries)
View Rendering
46.6%
Application Logic
31.9%
Other Operations
0.0%
Total Operations
8
Slowest Operation
42.08 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 66.0ms 132.1ms 198.1ms 264.2ms

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
SELECT * FROM posts WHERE created_at > ? 27 ms 64.2%
home/index 40 ms 95.1%
comments#create 42 ms 100.0%
posts/show 33 ms 78.4%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 30 ms 71.3%
comments#create 42 ms 100.0%
users/index 14 ms 33.3%
posts/show 36 ms 85.5%