Request Details

Route
/api_complex GET
Timestamp
Nov 19, 2026 8:41 AM
Duration
214.94 ms
Status
204
Response Size
61 KB
Error
No

Performance Breakdown

Database
0.5% (1 query)
View Rendering
8.5%
Application Logic
91.0%
Other Operations
0.0%
Total Operations
13
Slowest Operation
214.94 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 354.2ms 708.3ms 1062.5ms 1416.6ms

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 18 ms 8.4%
home#api_complex 215 ms 100.0%
home/index 24 ms 11.2%
home#api_complex 215 ms 100.0%
SELECT * FROM users WHERE id = ? 7 ms 3.3%
layouts/application 5 ms 2.3%
users/index 29 ms 13.5%
home#api_complex 215 ms 100.0%
layouts/application 24 ms 11.2%
home#api_complex 215 ms 100.0%
home#api_complex 215 ms 100.0%
home#api_complex 215 ms 100.0%
home/index 20 ms 9.3%