Request Details

Route
/api_complex GET
Timestamp
Sep 11, 2026 12:15 PM
Duration
143.99 ms
Status
204
Response Size
28 KB
Error
No

Performance Breakdown

Database
2.9% (2 queries)
View Rendering
4.2%
Application Logic
92.9%
Other Operations
0.0%
Total Operations
11
Slowest Operation
143.99 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 271.2ms 542.5ms 813.7ms 1085.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
SELECT * FROM posts WHERE created_at > ? 23 ms 16.0%
home#api_complex 144 ms 100.0%
home#api_complex 144 ms 100.0%
home#api_complex 144 ms 100.0%
home#api_complex 144 ms 100.0%
home#api_complex 144 ms 100.0%
users/index 20 ms 13.9%
posts/show 26 ms 18.1%
DELETE FROM posts WHERE id = ? 8 ms 5.6%
home#api_complex 144 ms 100.0%
home#api_complex 144 ms 100.0%