Request Details

Route
/slow GET
Timestamp
Sep 22, 2026 11:27 PM
Duration
499.86 ms
Status
204
Response Size
130 KB
Error
No

Performance Breakdown

Database
7.3% (7 queries)
View Rendering
16.3%
Application Logic
76.4%
Other Operations
0.0%
Total Operations
19
Slowest Operation
499.86 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 327.2ms 654.4ms 981.5ms 1308.7ms

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 COUNT(*) FROM comments WHERE post_id = ? 29 ms 5.8%
home#slow 500 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... 32 ms 6.4%
posts/show 24 ms 4.8%
home/index 34 ms 6.8%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 7 ms 1.4%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 15 ms 3.0%
layouts/application 13 ms 2.6%
posts/show 18 ms 3.6%
home#slow 500 ms 100.0%
layouts/application 25 ms 5.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 > ? 5 ms 1.0%
layouts/application 17 ms 3.4%
SELECT * FROM posts WHERE created_at > ? 5 ms 1.0%
home/index 30 ms 6.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 3 ms 0.6%
posts/show 17 ms 3.4%
home/index 13 ms 2.6%
home/index 22 ms 4.4%