Request Details

Route
/api_complex GET
Timestamp
Sep 14, 2026 9:56 PM
Duration
196.57 ms
Status
200
Response Size
9.9 KB
Error
No

Performance Breakdown

Database
0.0% (0 queries)
View Rendering
7.0%
Application Logic
93.0%
Other Operations
0.0%
Total Operations
12
Slowest Operation
196.57 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
0.0ms 317.1ms 634.2ms 951.3ms 1268.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
users/index 13 ms 6.6%
home/index 35 ms 17.8%
home#api_complex 197 ms 100.0%
users/index 8 ms 4.1%
home#api_complex 197 ms 100.0%
home/index 10 ms 5.1%
home#api_complex 197 ms 100.0%
home#api_complex 197 ms 100.0%
users/index 11 ms 5.6%
home#api_complex 197 ms 100.0%
home#api_complex 197 ms 100.0%
layouts/application 12 ms 6.1%