Request Details

Route
/api_complex GET
Timestamp
Nov 13, 2026 5:08 AM
Duration
181.87 ms
Status
200
Response Size
68 KB
Error
No

Performance Breakdown

Database
1.0% (2 queries)
View Rendering
8.3%
Application Logic
90.7%
Other Operations
0.0%
Total Operations
16
Slowest Operation
181.87 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 450.9ms 901.9ms 1352.8ms 1803.8ms

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 29 ms 15.9%
home#api_complex 182 ms 100.0%
home#api_complex 182 ms 100.0%
home#api_complex 182 ms 100.0%
SELECT id, name, email FROM users WHERE id = ? 9 ms 4.9%
home#api_complex 182 ms 100.0%
home#api_complex 182 ms 100.0%
home#api_complex 182 ms 100.0%
home/index 31 ms 17.0%
home#api_complex 182 ms 100.0%
layouts/application 36 ms 19.8%
users/index 31 ms 17.0%
SELECT name FROM users 9 ms 4.9%
home#api_complex 182 ms 100.0%
home#api_complex 182 ms 100.0%
home/index 22 ms 12.1%