Request Details

Route
/slow GET
Timestamp
Sep 21, 2026 2:24 PM
Duration
295.33 ms
Status
204
Response Size
140 KB
Error
No

Performance Breakdown

Database
5.3% (6 queries)
View Rendering
8.3%
Application Logic
86.5%
Other Operations
0.0%
Total Operations
17
Slowest Operation
295.33 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 426.9ms 853.8ms 1280.7ms 1707.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
UPDATE posts SET view_count = view_count + ? WHERE published = ? 20 ms 6.8%
home#slow 295 ms 100.0%
home/index 36 ms 12.2%
home#slow 295 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 12 ms 4.1%
SELECT id, name, email FROM users WHERE id = ? 11 ms 3.7%
home#slow 295 ms 100.0%
home#slow 295 ms 100.0%
home#slow 295 ms 100.0%
home/index 32 ms 10.8%
layouts/application 29 ms 9.8%
layouts/application 13 ms 4.4%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 16 ms 5.4%
posts/show 16 ms 5.4%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 19 ms 6.4%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 12 ms 4.1%
layouts/application 15 ms 5.1%