Request Details

Route
/slow GET
Timestamp
Nov 20, 2026 3:28 AM
Duration
559.01 ms
Status
204
Response Size
95 KB
Error
No

Performance Breakdown

Database
2.8% (6 queries)
View Rendering
1.8%
Application Logic
95.4%
Other Operations
0.0%
Total Operations
18
Slowest Operation
559.01 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 1172.0ms 2344.0ms 3516.1ms 4688.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
home#slow 559 ms 100.0%
home#slow 559 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 10 ms 1.8%
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 6.3%
home#slow 559 ms 100.0%
SELECT name FROM users 25 ms 4.5%
users/index 9 ms 1.6%
home#slow 559 ms 100.0%
SELECT * FROM users WHERE id = ? 24 ms 4.3%
home#slow 559 ms 100.0%
posts/show 25 ms 4.5%
layouts/application 39 ms 7.0%
home#slow 559 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 20 ms 3.6%
home#slow 559 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... 17 ms 3.0%
home#slow 559 ms 100.0%
layouts/application 12 ms 2.1%