Request Details

Route
/slow GET
Timestamp
Sep 22, 2026 11:00 PM
Duration
442.02 ms
Status
204
Response Size
150 KB
Error
No

Performance Breakdown

Database
3.0% (7 queries)
View Rendering
5.1%
Application Logic
92.0%
Other Operations
0.0%
Total Operations
30
Slowest Operation
442.02 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 1201.3ms 2402.6ms 3603.9ms 4805.2ms

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 posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 29 ms 6.6%
home#slow 442 ms 100.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 27 ms 6.1%
posts/show 11 ms 2.5%
home#slow 442 ms 100.0%
home#slow 442 ms 100.0%
home/index 23 ms 5.2%
home#slow 442 ms 100.0%
users/index 18 ms 4.1%
layouts/application 16 ms 3.6%
SELECT COUNT(*) FROM comments WHERE post_id = ? 18 ms 4.1%
home#slow 442 ms 100.0%
layouts/application 8 ms 1.8%
home/index 37 ms 8.4%
layouts/application 18 ms 4.1%
home#slow 442 ms 100.0%
home#slow 442 ms 100.0%
home#slow 442 ms 100.0%
home/index 14 ms 3.2%
SELECT * FROM users WHERE id = ? 31 ms 7.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... 11 ms 2.5%
home#slow 442 ms 100.0%
home/index 15 ms 3.4%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 20 ms 4.5%
home/index 16 ms 3.6%
home#slow 442 ms 100.0%
layouts/application 28 ms 6.3%
layouts/application 33 ms 7.5%
home/index 6 ms 1.4%
SELECT id, name FROM users WHERE email = ? 6 ms 1.4%