Request Details

Route
/api_complex GET
Timestamp
Nov 09, 2026 12:00 PM
Duration
165.31 ms
Status
200
Response Size
43 KB
Error
No

Performance Breakdown

Database
1.3% (4 queries)
View Rendering
6.2%
Application Logic
92.6%
Other Operations
0.0%
Total Operations
15
Slowest Operation
165.31 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 312.5ms 625.1ms 937.6ms 1250.1ms

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
layouts/application 7 ms 4.2%
home#api_complex 165 ms 100.0%
home#api_complex 165 ms 100.0%
home#api_complex 165 ms 100.0%
home/index 24 ms 14.5%
home#api_complex 165 ms 100.0%
home#api_complex 165 ms 100.0%
users/index 12 ms 7.3%
layouts/application 34 ms 20.6%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 1 ms 0.6%
SELECT id, name FROM users WHERE email = ? 4 ms 2.4%
SELECT name FROM users 8 ms 4.8%
home#api_complex 165 ms 100.0%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 3 ms 1.8%
home#api_complex 165 ms 100.0%