Request Details

Route
/slow GET
Timestamp
Sep 16, 2026 3:39 AM
Duration
241.12 ms
Status
200
Response Size
60 KB
Error
No

Performance Breakdown

Database
4.6% (6 queries)
View Rendering
13.3%
Application Logic
82.1%
Other Operations
0.0%
Total Operations
24
Slowest Operation
241.12 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 514.0ms 1027.9ms 1541.9ms 2055.9ms

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
posts/show 28 ms 11.6%
home/index 29 ms 12.0%
users/index 10 ms 4.1%
home#slow 241 ms 100.0%
layouts/application 29 ms 12.0%
users/index 15 ms 6.2%
home#slow 241 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 3 ms 1.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 > ? 3 ms 1.2%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 26 ms 10.8%
home#slow 241 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 23 ms 9.5%
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... 16 ms 6.6%
users/index 38 ms 15.8%
SELECT name FROM users 24 ms 10.0%
users/index 27 ms 11.2%
home#slow 241 ms 100.0%
home#slow 241 ms 100.0%
home/index 24 ms 10.0%
layouts/application 35 ms 14.5%
posts/show 9 ms 3.7%
posts/show 29 ms 12.0%
home#slow 241 ms 100.0%
home#slow 241 ms 100.0%