Request Details

Route
/search GET
Timestamp
Sep 17, 2026 2:29 PM
Duration
219.92 ms
Status
204
Response Size
35 KB
Error
No

Performance Breakdown

Database
4.2% (4 queries)
View Rendering
4.6%
Application Logic
91.3%
Other Operations
0.0%
Total Operations
12
Slowest Operation
219.92 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 301.1ms 602.3ms 903.4ms 1204.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#search 220 ms 100.0%
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... 1 ms 0.5%
posts/show 34 ms 15.5%
home#search 220 ms 100.0%
home#search 220 ms 100.0%
home/index 12 ms 5.5%
home#search 220 ms 100.0%
home#search 220 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 10 ms 4.5%
SELECT * FROM users WHERE id = ? 19 ms 8.6%
home/index 9 ms 4.1%
SELECT users.*, COUNT(DISTINCT posts.id) as post_count, COUNT(DISTINCT comments.id) as comment_count, SUM(posts.view_count) as total_views, AVG(posts.view_count) as avg_views, MIN(posts.created_at) as first_post, MAX(posts.created_at) as latest_post FR... 20 ms 9.1%