Request Details

Route
/api_simple GET
Timestamp
Sep 12, 2026 1:19 AM
Duration
12.22 ms
Status
201
Response Size
1.4 KB
Error
No

Performance Breakdown

Database
27.8% (1 query)
View Rendering
44.0%
Application Logic
28.3%
Other Operations
0.0%
Total Operations
4
Slowest Operation
38.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 21.6ms 43.2ms 64.8ms 86.4ms

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
layouts/application 38 ms 310.9%
SELECT COUNT(*) FROM comments WHERE post_id = ? 24 ms 196.4%
home#api_simple 12 ms 100.0%
home#api_simple 12 ms 100.0%