Request Details

Route
/slow GET
Timestamp
Nov 10, 2026 7:20 AM
Duration
407.57 ms
Status
200
Response Size
170 KB
Error
No

Performance Breakdown

Database
3.4% (7 queries)
View Rendering
3.6%
Application Logic
92.9%
Other Operations
0.0%
Total Operations
23
Slowest Operation
407.57 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 986.8ms 1973.5ms 2960.3ms 3947.1ms

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
users/index 17 ms 4.2%
home#slow 408 ms 100.0%
posts/show 29 ms 7.1%
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 > ? 3 ms 0.7%
home#slow 408 ms 100.0%
home#slow 408 ms 100.0%
layouts/application 24 ms 5.9%
posts/show 20 ms 4.9%
SELECT * FROM posts WHERE created_at > ? 2 ms 0.5%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 34 ms 8.3%
home#slow 408 ms 100.0%
home/index 28 ms 6.9%
home#slow 408 ms 100.0%
layouts/application 10 ms 2.5%
home#slow 408 ms 100.0%
SELECT id, name, email FROM users WHERE id = ? 32 ms 7.9%
posts/show 15 ms 3.7%
home#slow 408 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 2 ms 0.5%
home#slow 408 ms 100.0%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 28 ms 6.9%
home#slow 408 ms 100.0%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 35 ms 8.6%