Request Details

Route
/api_complex GET
Timestamp
Sep 19, 2026 8:24 AM
Duration
233.38 ms
Status
201
Response Size
70 KB
Error
No

Performance Breakdown

Database
6.5% (1 query)
View Rendering
43.3%
Application Logic
50.3%
Other Operations
0.0%
Total Operations
10
Slowest Operation
233.38 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 116.1ms 232.2ms 348.3ms 464.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
posts/show 20 ms 8.6%
home#api_complex 233 ms 100.0%
users/index 31 ms 13.3%
layouts/application 8 ms 3.4%
layouts/application 40 ms 17.1%
home/index 21 ms 9.0%
home/index 6 ms 2.6%
users/index 38 ms 16.3%
home/index 37 ms 15.9%
SELECT * FROM posts WHERE created_at > ? 30 ms 12.9%