Request Details

Route
/comments POST
Timestamp
Nov 20, 2026 9:49 PM
Duration
21.02 ms
Status
200
Response Size
9.3 KB
Error
No

Performance Breakdown

Database
19.1% (2 queries)
View Rendering
46.4%
Application Logic
34.4%
Other Operations
0.0%
Total Operations
8
Slowest Operation
34.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 45.8ms 91.5ms 137.3ms 183.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
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 21 ms 99.9%
layouts/application 34 ms 161.7%
users/index 24 ms 114.2%
SELECT * FROM users WHERE id = ? 14 ms 66.6%
home/index 27 ms 128.4%
comments#create 21 ms 100.0%
comments#create 21 ms 100.0%
comments#create 21 ms 100.0%