Request Details

Route
/search GET
Timestamp
Sep 13, 2026 12:26 AM
Duration
162.82 ms
Status
204
Response Size
43 KB
Error
No

Performance Breakdown

Database
16.9% (5 queries)
View Rendering
4.6%
Application Logic
78.5%
Other Operations
0.0%
Total Operations
9
Slowest Operation
162.82 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 103.7ms 207.3ms 311.0ms 414.6ms

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/index 5 ms 3.1%
home#search 163 ms 100.0%
home#search 163 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 34 ms 20.9%
posts/show 14 ms 8.6%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 5 ms 3.1%
SELECT * FROM users WHERE id = ? 6 ms 3.7%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 10 ms 6.1%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 15 ms 9.2%