Request Details

Route
/slow GET
Timestamp
Sep 20, 2026 1:01 PM
Duration
491.16 ms
Status
201
Response Size
140 KB
Error
No

Performance Breakdown

Database
4.8% (5 queries)
View Rendering
12.3%
Application Logic
82.9%
Other Operations
0.0%
Total Operations
16
Slowest Operation
491.16 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 444.4ms 888.7ms 1333.1ms 1777.5ms

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
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 8 ms 1.6%
home/index 40 ms 8.1%
posts/show 7 ms 1.4%
posts/show 28 ms 5.7%
posts/show 24 ms 4.9%
SELECT COUNT(*) FROM comments WHERE post_id = ? 34 ms 6.9%
home#slow 491 ms 100.0%
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 4.5%
home#slow 491 ms 100.0%
home#slow 491 ms 100.0%
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 > ? 16 ms 3.3%
posts/show 15 ms 3.1%
home/index 27 ms 5.5%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 6 ms 1.2%
users/index 38 ms 7.7%
home/index 39 ms 7.9%