Request Details

Route
/api_simple GET
Timestamp
Nov 21, 2026 5:18 PM
Duration
16.74 ms
Status
200
Response Size
1.5 KB
Error
No

Performance Breakdown

Database
5.5% (1 query)
View Rendering
57.5%
Application Logic
37.0%
Other Operations
0.0%
Total Operations
5
Slowest Operation
33.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 22.6ms 45.2ms 67.9ms 90.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
home#api_simple 17 ms 100.0%
layouts/application 33 ms 197.1%
home#api_simple 17 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 5 ms 29.9%
home/index 19 ms 113.5%