Request Details

Route
/api_complex GET
Timestamp
Sep 09, 2026 11:08 PM
Duration
470.26 ms
Status
200
Response Size
31 KB
Error
No

Performance Breakdown

Database
0.0% (0 queries)
View Rendering
8.8%
Application Logic
91.2%
Other Operations
0.0%
Total Operations
12
Slowest Operation
470.26 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 515.8ms 1031.5ms 1547.3ms 2063.0ms

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 32 ms 6.8%
home/index 26 ms 5.5%
home/index 14 ms 3.0%
home#api_complex 470 ms 100.0%
home#api_complex 470 ms 100.0%
users/index 17 ms 3.6%
posts/show 39 ms 8.3%
posts/show 18 ms 3.8%
users/index 30 ms 6.4%
home#api_complex 470 ms 100.0%
home#api_complex 470 ms 100.0%
posts/show 6 ms 1.3%