Request Details

Route
/api/v1/posts GET
Timestamp
Nov 21, 2026 5:55 AM
Duration
35.96 ms
Status
200
Response Size
4.3 KB
Error
No

Performance Breakdown

Database
35.8% (2 queries)
View Rendering
11.7%
Application Logic
52.5%
Other Operations
0.0%
Total Operations
5
Slowest Operation
35.96 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 34.2ms 68.5ms 102.7ms 136.9ms

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 ? 18 ms 50.1%
api/v1/posts#index 36 ms 100.0%
api/v1/posts#index 36 ms 100.0%
layouts/application 16 ms 44.5%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 31 ms 86.2%