Request Details

Route
/api_complex GET
Timestamp
Sep 22, 2026 12:36 PM
Duration
163.89 ms
Status
204
Response Size
69 KB
Error
No

Performance Breakdown

Database
1.5% (1 query)
View Rendering
6.9%
Application Logic
91.6%
Other Operations
0.0%
Total Operations
16
Slowest Operation
163.89 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 447.5ms 895.0ms 1342.4ms 1789.9ms

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
home#api_complex 164 ms 100.0%
layouts/application 35 ms 21.4%
home#api_complex 164 ms 100.0%
home#api_complex 164 ms 100.0%
home#api_complex 164 ms 100.0%
home#api_complex 164 ms 100.0%
home#api_complex 164 ms 100.0%
posts/show 21 ms 12.8%
layouts/application 7 ms 4.3%
home/index 39 ms 23.8%
SELECT * FROM posts WHERE created_at > ? 27 ms 16.5%
home#api_complex 164 ms 100.0%
home#api_complex 164 ms 100.0%
home#api_complex 164 ms 100.0%
home#api_complex 164 ms 100.0%
users/index 22 ms 13.4%