Request Details

Route
/comments POST
Timestamp
Sep 17, 2026 11:33 AM
Duration
16.45 ms
Status
200
Response Size
6.9 KB
Error
No

Performance Breakdown

Database
65.3% (3 queries)
View Rendering
0.0%
Application Logic
34.7%
Other Operations
0.0%
Total Operations
5
Slowest Operation
29.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
Database
0.0ms 23.7ms 47.4ms 71.2ms 94.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
comments#create 16 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 29 ms 176.3%
comments#create 16 ms 100.0%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 11 ms 66.9%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 22 ms 133.8%