Request Details

Route
/search GET
Timestamp
Sep 13, 2026 4:44 PM
Duration
64.75 ms
Status
204
Response Size
48 KB
Error
No

Performance Breakdown

Database
32.7% (4 queries)
View Rendering
22.3%
Application Logic
45.0%
Other Operations
0.0%
Total Operations
10
Slowest Operation
64.75 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 71.9ms 143.7ms 215.6ms 287.5ms

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 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 > ? 35 ms 54.1%
home#search 65 ms 100.0%
SELECT users.* FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id WHERE users.active = ? AND posts.published = ? AND comments.approved = ? OR users.created_at > ? AND posts.created_at > ? AND commen... 23 ms 35.5%
home#search 65 ms 100.0%
layouts/application 16 ms 24.7%
layouts/application 11 ms 17.0%
layouts/application 7 ms 10.8%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 22 ms 34.0%
home/index 30 ms 46.3%
SELECT * FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id LEFT JOIN tags ON posts.id = tags.post_id LEFT JOIN categories ON posts.category_id = categories.id WHERE users.active = ? AND posts.publi... 14 ms 21.6%