Request Details

Route
/comments POST
Timestamp
Sep 09, 2026 5:42 AM
Duration
18.78 ms
Status
200
Response Size
10 KB
Error
No

Performance Breakdown

Database
5.9% (1 query)
View Rendering
44.7%
Application Logic
49.4%
Other Operations
0.0%
Total Operations
8
Slowest Operation
40.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
View
Database
0.0ms 38.0ms 76.1ms 114.1ms 152.1ms

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 19 ms 100.0%
comments#create 19 ms 100.0%
posts/show 20 ms 106.5%
layouts/application 8 ms 42.6%
comments#create 19 ms 100.0%
comments#create 19 ms 100.0%
SELECT * FROM users WHERE id = ? 9 ms 47.9%
posts/show 40 ms 213.0%