Request Details

Route
/api_simple GET
Timestamp
Sep 18, 2026 3:20 AM
Duration
20.46 ms
Status
204
Response Size
1.1 KB
Error
No

Performance Breakdown

Database
29.1% (3 queries)
View Rendering
59.9%
Application Logic
11.0%
Other Operations
0.0%
Total Operations
7
Slowest Operation
39.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 46.4ms 92.7ms 139.1ms 185.5ms

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
users/index 34 ms 166.2%
home#api_simple 20 ms 100.0%
posts/show 38 ms 185.8%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 22 ms 107.5%
posts/show 39 ms 190.7%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 23 ms 112.4%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 9 ms 44.0%