Request Details

Route
/api/v1/search GET|POST
Timestamp
Nov 09, 2026 10:25 AM
Duration
38.44 ms
Status
200
Response Size
14 KB
Error
No

Performance Breakdown

Database
56.5% (4 queries)
View Rendering
0.0%
Application Logic
43.5%
Other Operations
0.0%
Total Operations
6
Slowest Operation
38.44 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
Database
0.0ms 44.2ms 88.4ms 132.7ms 176.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
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 20 ms 52.0%
api/v1/searches#index 38 ms 100.0%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 29 ms 75.4%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 26 ms 67.6%
api/v1/searches#index 38 ms 100.0%
SELECT * FROM users WHERE id = ? 25 ms 65.0%