Request Details

Route
/api/v1/posts GET
Timestamp
Sep 23, 2026 1:12 PM
Duration
79.42 ms
Status
201
Response Size
8.5 KB
Error
No

Performance Breakdown

Database
5.8% (2 queries)
View Rendering
12.4%
Application Logic
81.8%
Other Operations
0.0%
Total Operations
6
Slowest Operation
79.42 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 72.8ms 145.6ms 218.5ms 291.3ms

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
api/v1/posts#index 79 ms 100.0%
layouts/application 36 ms 45.3%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 13 ms 16.4%
api/v1/posts#index 79 ms 100.0%
api/v1/posts#index 79 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 4 ms 5.0%