Request Details

Route
/comments POST
Timestamp
Sep 10, 2026 12:41 PM
Duration
23.02 ms
Status
200
Response Size
5.1 KB
Error
No

Performance Breakdown

Database
40.9% (3 queries)
View Rendering
44.2%
Application Logic
14.9%
Other Operations
0.0%
Total Operations
8
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
View
Database
0.0ms 38.5ms 77.0ms 115.5ms 154.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
home/index 18 ms 78.2%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 22 ms 95.6%
users/index 5 ms 21.7%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 12 ms 52.1%
home/index 21 ms 91.2%
layouts/application 24 ms 104.3%
SELECT * FROM posts WHERE created_at > ? 29 ms 126.0%
comments#create 23 ms 100.0%