Request Details

Route
/slow GET
Timestamp
Sep 20, 2026 6:39 PM
Duration
379.4 ms
Status
200
Response Size
170 KB
Error
No

Performance Breakdown

Database
2.9% (3 queries)
View Rendering
4.4%
Application Logic
92.7%
Other Operations
0.0%
Total Operations
17
Slowest Operation
379.4 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 716.2ms 1432.4ms 2148.6ms 2864.8ms

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 379 ms 100.0%
home#slow 379 ms 100.0%
home#slow 379 ms 100.0%
home/index 9 ms 2.4%
home/index 7 ms 1.8%
home#slow 379 ms 100.0%
SELECT * FROM users WHERE id = ? 19 ms 5.0%
layouts/application 6 ms 1.6%
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 > ? 33 ms 8.7%
home#slow 379 ms 100.0%
home#slow 379 ms 100.0%
home#slow 379 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 32 ms 8.4%
layouts/application 31 ms 8.2%
layouts/application 17 ms 4.5%
users/index 32 ms 8.4%
users/index 23 ms 6.1%