Request Details

Route
/api/v1/search GET|POST
Timestamp
Sep 23, 2026 12:31 AM
Duration
14.01 ms
Status
200
Response Size
5.3 KB
Error
No

Performance Breakdown

Database
13.9% (1 query)
View Rendering
65.7%
Application Logic
20.5%
Other Operations
0.0%
Total Operations
8
Slowest Operation
36.0 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 34.3ms 68.5ms 102.8ms 137.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
posts/show 7 ms 50.0%
api/v1/searches#index 14 ms 100.0%
users/index 12 ms 85.6%
api/v1/searches#index 14 ms 100.0%
users/index 10 ms 71.4%
SELECT DISTINCT users.*, posts.*, comments.* FROM users, posts, comments WHERE users.id = posts.user_id AND posts.id = comments.post_id AND users.created_at > ? AND posts.created_at > ? AND comments.created_at > ? 19 ms 135.6%
layouts/application 25 ms 178.4%
posts/show 36 ms 256.9%