Request Details

Route
/api_complex GET
Timestamp
Nov 10, 2026 6:13 AM
Duration
151.63 ms
Status
204
Response Size
52 KB
Error
No

Performance Breakdown

Database
1.9% (1 query)
View Rendering
3.7%
Application Logic
94.3%
Other Operations
0.0%
Total Operations
12
Slowest Operation
151.63 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 321.5ms 643.0ms 964.5ms 1286.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
home#api_complex 152 ms 100.0%
home#api_complex 152 ms 100.0%
home#api_complex 152 ms 100.0%
posts/show 33 ms 21.8%
home#api_complex 152 ms 100.0%
home#api_complex 152 ms 100.0%
posts/show 7 ms 4.6%
home#api_complex 152 ms 100.0%
home#api_complex 152 ms 100.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 25 ms 16.5%
users/index 8 ms 5.3%
home#api_complex 152 ms 100.0%