Request Details

Route
/slow GET
Timestamp
Sep 10, 2026 6:12 PM
Duration
327.1 ms
Status
201
Response Size
210 KB
Error
No

Performance Breakdown

Database
2.9% (6 queries)
View Rendering
4.3%
Application Logic
92.8%
Other Operations
0.0%
Total Operations
28
Slowest Operation
327.1 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 1145.6ms 2291.1ms 3436.7ms 4582.3ms

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 327 ms 100.0%
home#slow 327 ms 100.0%
home#slow 327 ms 100.0%
home#slow 327 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 27 ms 8.3%
home/index 23 ms 7.0%
home/index 22 ms 6.7%
home#slow 327 ms 100.0%
home#slow 327 ms 100.0%
home#slow 327 ms 100.0%
home#slow 327 ms 100.0%
home#slow 327 ms 100.0%
home#slow 327 ms 100.0%
users/index 8 ms 2.4%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 35 ms 10.7%
home#slow 327 ms 100.0%
home/index 22 ms 6.7%
home#slow 327 ms 100.0%
posts/show 7 ms 2.1%
SELECT name FROM users 25 ms 7.6%
home#slow 327 ms 100.0%
posts/show 27 ms 8.3%
users/index 30 ms 9.2%
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 > ? 4 ms 1.2%
SELECT name FROM users 17 ms 5.2%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 23 ms 7.0%
layouts/application 36 ms 11.0%
users/index 24 ms 7.3%