Request Details

Route
/api_complex GET
Timestamp
Nov 13, 2026 6:58 PM
Duration
99.03 ms
Status
201
Response Size
52 KB
Error
No

Performance Breakdown

Database
7.8% (4 queries)
View Rendering
15.5%
Application Logic
76.7%
Other Operations
0.0%
Total Operations
18
Slowest Operation
99.03 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 225.8ms 451.6ms 677.4ms 903.2ms

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 99 ms 100.0%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 11 ms 11.1%
home#api_complex 99 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 32 ms 32.3%
users/index 34 ms 34.3%
posts/show 6 ms 6.1%
home/index 37 ms 37.4%
posts/show 13 ms 13.1%
home/index 12 ms 12.1%
home#api_complex 99 ms 100.0%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 14 ms 14.1%
home#api_complex 99 ms 100.0%
home#api_complex 99 ms 100.0%
users/index 20 ms 20.2%
home#api_complex 99 ms 100.0%
SELECT name FROM users 13 ms 13.1%
home#api_complex 99 ms 100.0%
layouts/application 18 ms 18.2%