Request Details

Route
/comments POST
Timestamp
Nov 21, 2026 8:19 AM
Duration
77.51 ms
Status
204
Response Size
11 KB
Error
No

Performance Breakdown

Database
34.0% (3 queries)
View Rendering
24.9%
Application Logic
41.1%
Other Operations
0.0%
Total Operations
8
Slowest Operation
77.51 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 47.1ms 94.3ms 141.4ms 188.5ms

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 78 ms 100.0%
users/index 5 ms 6.5%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 18 ms 23.2%
layouts/application 16 ms 20.6%
SELECT * FROM posts WHERE created_at > ? 32 ms 41.3%
home/index 15 ms 19.4%
home/index 11 ms 14.2%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 14 ms 18.1%