Request Details

Route
/slow GET
Timestamp
Sep 19, 2026 8:13 PM
Duration
278.05 ms
Status
204
Response Size
150 KB
Error
No

Performance Breakdown

Database
3.4% (8 queries)
View Rendering
6.0%
Application Logic
90.6%
Other Operations
0.0%
Total Operations
30
Slowest Operation
278.05 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 844.1ms 1688.3ms 2532.4ms 3376.6ms

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 created_at > ? 14 ms 5.0%
home#slow 278 ms 100.0%
home#slow 278 ms 100.0%
home#slow 278 ms 100.0%
home#slow 278 ms 100.0%
home#slow 278 ms 100.0%
layouts/application 12 ms 4.3%
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... 10 ms 3.6%
posts/show 40 ms 14.4%
users/index 8 ms 2.9%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 2 ms 0.7%
home#slow 278 ms 100.0%
layouts/application 5 ms 1.8%
home#slow 278 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 > ? 32 ms 11.5%
users/index 12 ms 4.3%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 8 ms 2.9%
SELECT * FROM users WHERE id = ? 12 ms 4.3%
home/index 19 ms 6.8%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 29 ms 10.4%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 9 ms 3.2%
home#slow 278 ms 100.0%
posts/show 10 ms 3.6%
layouts/application 12 ms 4.3%
home#slow 278 ms 100.0%
home#slow 278 ms 100.0%
home#slow 278 ms 100.0%
posts/show 25 ms 9.0%
posts/show 32 ms 11.5%
users/index 27 ms 9.7%