Request Details

Route
/api_complex GET
Timestamp
Nov 14, 2026 11:23 AM
Duration
112.16 ms
Status
200
Response Size
73 KB
Error
No

Performance Breakdown

Database
4.4% (1 query)
View Rendering
20.6%
Application Logic
75.1%
Other Operations
0.0%
Total Operations
10
Slowest Operation
112.16 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 149.4ms 298.8ms 448.2ms 597.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
home#api_complex 112 ms 100.0%
home#api_complex 112 ms 100.0%
home/index 29 ms 25.9%
home#api_complex 112 ms 100.0%
home#api_complex 112 ms 100.0%
posts/show 19 ms 16.9%
users/index 23 ms 20.5%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 26 ms 23.2%
posts/show 32 ms 28.5%
layouts/application 20 ms 17.8%