Request Details

Route
/slow GET
Timestamp
Sep 22, 2026 10:06 PM
Duration
230.08 ms
Status
200
Response Size
110 KB
Error
No

Performance Breakdown

Database
4.3% (7 queries)
View Rendering
12.3%
Application Logic
83.3%
Other Operations
0.0%
Total Operations
29
Slowest Operation
230.08 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 621.2ms 1242.3ms 1863.5ms 2484.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 * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 11 ms 4.8%
home#slow 230 ms 100.0%
home#slow 230 ms 100.0%
users/index 32 ms 13.9%
users/index 8 ms 3.5%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 28 ms 12.2%
home#slow 230 ms 100.0%
home#slow 230 ms 100.0%
posts/show 23 ms 10.0%
home#slow 230 ms 100.0%
posts/show 36 ms 15.6%
layouts/application 13 ms 5.7%
home#slow 230 ms 100.0%
home#slow 230 ms 100.0%
home#slow 230 ms 100.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 35 ms 15.2%
home#slow 230 ms 100.0%
home/index 15 ms 6.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... 11 ms 4.8%
layouts/application 24 ms 10.4%
posts/show 22 ms 9.6%
posts/show 39 ms 17.0%
home/index 32 ms 13.9%
posts/show 36 ms 15.6%
posts/show 6 ms 2.6%
SELECT * FROM users WHERE id = ? 3 ms 1.3%
home/index 20 ms 8.7%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 11 ms 4.8%
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 3.9%