Request Details

Route
/search GET
Timestamp
Sep 11, 2026 1:57 AM
Duration
93.04 ms
Status
200
Response Size
68 KB
Error
No

Performance Breakdown

Database
11.7% (5 queries)
View Rendering
22.9%
Application Logic
65.3%
Other Operations
0.0%
Total Operations
12
Slowest Operation
93.04 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 106.8ms 213.6ms 320.3ms 427.1ms

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 users.*, posts.*, comments.*, COUNT(DISTINCT posts.id) as post_count, COUNT(DISTINCT comments.id) as comment_count, AVG(posts.view_count) as avg_views, MAX(comments.created_at) as latest_comment FROM users LEFT JOIN posts ON users.id = posts.use... 20 ms 21.5%
posts/show 17 ms 18.3%
home#search 93 ms 100.0%
home#search 93 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 4 ms 4.3%
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 20.4%
home/index 34 ms 36.5%
posts/show 16 ms 17.2%
DELETE FROM posts WHERE id = ? 3 ms 3.2%
home#search 93 ms 100.0%
home/index 31 ms 33.3%
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 > ? 4 ms 4.3%