Request Details

Route
/comments POST
Timestamp
Nov 09, 2026 6:13 AM
Duration
122.32 ms
Status
201
Response Size
15 KB
Error
No

Performance Breakdown

Database
16.1% (3 queries)
View Rendering
6.6%
Application Logic
77.3%
Other Operations
0.0%
Total Operations
6
Slowest Operation
122.32 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 79.2ms 158.3ms 237.5ms 316.6ms

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 ? 22 ms 18.0%
comments#create 122 ms 100.0%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 23 ms 18.8%
users/index 21 ms 17.2%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 6 ms 4.9%
comments#create 122 ms 100.0%