Request Details

Route
/slow GET
Timestamp
Nov 20, 2026 1:27 PM
Duration
356.85 ms
Status
204
Response Size
78 KB
Error
No

Performance Breakdown

Database
2.3% (7 queries)
View Rendering
4.9%
Application Logic
92.8%
Other Operations
0.0%
Total Operations
24
Slowest Operation
356.85 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 961.1ms 1922.3ms 2883.4ms 3844.5ms

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
home#slow 357 ms 100.0%
home#slow 357 ms 100.0%
home#slow 357 ms 100.0%
SELECT id, name FROM users WHERE email = ? 27 ms 7.6%
home#slow 357 ms 100.0%
home#slow 357 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 2 ms 0.6%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 30 ms 8.4%
home/index 29 ms 8.1%
posts/show 31 ms 8.7%
home#slow 357 ms 100.0%
posts/show 39 ms 10.9%
home#slow 357 ms 100.0%
posts/show 20 ms 5.6%
users/index 12 ms 3.4%
SELECT * FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id LEFT JOIN tags ON posts.id = tags.post_id LEFT JOIN categories ON posts.category_id = categories.id WHERE users.active = ? AND posts.publi... 4 ms 1.1%
home#slow 357 ms 100.0%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 1 ms 0.3%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 19 ms 5.3%
home#slow 357 ms 100.0%
home#slow 357 ms 100.0%
users/index 35 ms 9.8%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 5 ms 1.4%
users/index 22 ms 6.2%