Request Details

Route
/api_complex GET
Timestamp
Sep 19, 2026 6:21 PM
Duration
84.4 ms
Status
204
Response Size
36 KB
Error
No

Performance Breakdown

Database
8.5% (4 queries)
View Rendering
20.2%
Application Logic
71.4%
Other Operations
0.0%
Total Operations
16
Slowest Operation
84.4 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 177.3ms 354.7ms 532.0ms 709.4ms

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 84 ms 100.0%
layouts/application 21 ms 24.9%
layouts/application 25 ms 29.6%
home#api_complex 84 ms 100.0%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 33 ms 39.1%
home#api_complex 84 ms 100.0%
DELETE FROM comments WHERE created_at < ? 15 ms 17.8%
SELECT id, name FROM users WHERE email = ? 2 ms 2.4%
home#api_complex 84 ms 100.0%
home/index 32 ms 37.9%
home#api_complex 84 ms 100.0%
home#api_complex 84 ms 100.0%
posts/show 33 ms 39.1%
users/index 27 ms 32.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 10 ms 11.8%
home/index 5 ms 5.9%