Request Details

Route
/comments POST
Timestamp
Nov 21, 2026 11:18 PM
Duration
21.58 ms
Status
200
Response Size
11 KB
Error
No

Performance Breakdown

Database
3.0% (1 query)
View Rendering
64.0%
Application Logic
32.9%
Other Operations
0.0%
Total Operations
5
Slowest Operation
21.58 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 16.4ms 32.8ms 49.2ms 65.6ms

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
users/index 14 ms 64.9%
posts/show 7 ms 32.4%
comments#create 22 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 2 ms 9.3%
home/index 21 ms 97.3%