Request Details

Route
/comments POST
Timestamp
Nov 10, 2026 9:33 PM
Duration
17.71 ms
Status
204
Response Size
8.4 KB
Error
No

Performance Breakdown

Database
41.3% (2 queries)
View Rendering
58.7%
Application Logic
0.0%
Other Operations
0.0%
Total Operations
5
Slowest Operation
32.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
View
Database
0.0ms 34.5ms 69.0ms 103.5ms 138.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
posts/show 25 ms 141.2%
layouts/application 24 ms 135.6%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 29 ms 163.8%
SELECT * FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id LEFT JOIN tags ON posts.id = tags.post_id LEFT JOIN categories ON posts.category_id = categories.id WHERE users.active = ? AND posts.publi... 28 ms 158.1%
home/index 32 ms 180.7%