Request Details

Route
/slow GET
Timestamp
Sep 23, 2026 2:42 AM
Duration
609.79 ms
Status
201
Response Size
230 KB
Error
No

Performance Breakdown

Database
1.1% (6 queries)
View Rendering
1.7%
Application Logic
97.2%
Other Operations
0.0%
Total Operations
25
Slowest Operation
609.79 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 2194.8ms 4389.6ms 6584.3ms 8779.1ms

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 users WHERE id = ? 26 ms 4.3%
SELECT * FROM users WHERE id = ? 17 ms 2.8%
posts/show 38 ms 6.2%
home#slow 610 ms 100.0%
home#slow 610 ms 100.0%
home#slow 610 ms 100.0%
home#slow 610 ms 100.0%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 5 ms 0.8%
home#slow 610 ms 100.0%
home#slow 610 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 9 ms 1.5%
home#slow 610 ms 100.0%
home#slow 610 ms 100.0%
home#slow 610 ms 100.0%
layouts/application 27 ms 4.4%
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... 28 ms 4.6%
layouts/application 28 ms 4.6%
home#slow 610 ms 100.0%
users/index 19 ms 3.1%
home#slow 610 ms 100.0%
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... 9 ms 1.5%
home#slow 610 ms 100.0%
home#slow 610 ms 100.0%
home/index 36 ms 5.9%
home#slow 610 ms 100.0%