Request Details

Route
/slow GET
Timestamp
Nov 11, 2026 4:00 AM
Duration
344.24 ms
Status
200
Response Size
140 KB
Error
No

Performance Breakdown

Database
1.7% (4 queries)
View Rendering
2.9%
Application Logic
95.4%
Other Operations
0.0%
Total Operations
20
Slowest Operation
344.24 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 902.1ms 1804.2ms 2706.3ms 3608.4ms

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
layouts/application 38 ms 11.0%
home#slow 344 ms 100.0%
home#slow 344 ms 100.0%
home#slow 344 ms 100.0%
layouts/application 6 ms 1.7%
home#slow 344 ms 100.0%
home#slow 344 ms 100.0%
posts/show 17 ms 4.9%
users/index 9 ms 2.6%
users/index 15 ms 4.4%
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 10.2%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 11 ms 3.2%
home#slow 344 ms 100.0%
home#slow 344 ms 100.0%
home#slow 344 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 16 ms 4.6%
home#slow 344 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 1 ms 0.3%
users/index 18 ms 5.2%
home#slow 344 ms 100.0%