Request Details

Route
/search GET
Timestamp
Nov 20, 2026 8:47 PM
Duration
146.55 ms
Status
201
Response Size
43 KB
Error
No

Performance Breakdown

Database
7.7% (4 queries)
View Rendering
11.4%
Application Logic
80.8%
Other Operations
0.0%
Total Operations
12
Slowest Operation
146.55 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 181.3ms 362.6ms 543.9ms 725.2ms

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
posts/show 19 ms 13.0%
home/index 16 ms 10.9%
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 > ? 22 ms 15.0%
home#search 147 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 11 ms 7.5%
home#search 147 ms 100.0%
SELECT * FROM users WHERE id = ? 19 ms 13.0%
home#search 147 ms 100.0%
home#search 147 ms 100.0%
layouts/application 37 ms 25.2%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 4 ms 2.7%
posts/show 11 ms 7.5%