Request Details

Route
/api/v1/search GET|POST
Timestamp
Sep 17, 2026 4:31 AM
Duration
49.48 ms
Status
201
Response Size
16 KB
Error
No

Performance Breakdown

Database
15.6% (2 queries)
View Rendering
12.4%
Application Logic
72.0%
Other Operations
0.0%
Total Operations
7
Slowest Operation
49.48 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 68.7ms 137.5ms 206.2ms 274.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
api/v1/searches#index 49 ms 100.0%
api/v1/searches#index 49 ms 100.0%
DELETE FROM comments WHERE created_at < ? 21 ms 42.4%
api/v1/searches#index 49 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 22 ms 44.5%
api/v1/searches#index 49 ms 100.0%
posts/show 34 ms 68.7%