Request Details

Route
/api_complex GET
Timestamp
Sep 15, 2026 6:47 PM
Duration
233.98 ms
Status
204
Response Size
19 KB
Error
No

Performance Breakdown

Database
4.2% (3 queries)
View Rendering
5.5%
Application Logic
90.3%
Other Operations
0.0%
Total Operations
14
Slowest Operation
233.98 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 388.7ms 777.4ms 1166.2ms 1554.9ms

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 234 ms 100.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 23 ms 9.8%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 20 ms 8.5%
home#api_complex 234 ms 100.0%
home#api_complex 234 ms 100.0%
home#api_complex 234 ms 100.0%
home#api_complex 234 ms 100.0%
home#api_complex 234 ms 100.0%
posts/show 11 ms 4.7%
layouts/application 6 ms 2.6%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 23 ms 9.8%
posts/show 33 ms 14.1%
layouts/application 10 ms 4.3%
posts/show 25 ms 10.7%