Request Details

Route
/api_complex GET
Timestamp
Sep 09, 2026 2:20 PM
Duration
201.95 ms
Status
201
Response Size
16 KB
Error
No

Performance Breakdown

Database
2.8% (1 query)
View Rendering
13.0%
Application Logic
84.2%
Other Operations
0.0%
Total Operations
10
Slowest Operation
201.95 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 239.9ms 479.9ms 719.8ms 959.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
home#api_complex 202 ms 100.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 27 ms 13.4%
layouts/application 34 ms 16.8%
posts/show 24 ms 11.9%
home#api_complex 202 ms 100.0%
layouts/application 26 ms 12.9%
users/index 9 ms 4.5%
home#api_complex 202 ms 100.0%
home#api_complex 202 ms 100.0%
home/index 32 ms 15.8%