Request Details

Route
/slow GET
Timestamp
Sep 22, 2026 11:02 AM
Duration
279.92 ms
Status
200
Response Size
57 KB
Error
No

Performance Breakdown

Database
10.0% (10 queries)
View Rendering
10.1%
Application Logic
79.9%
Other Operations
0.0%
Total Operations
22
Slowest Operation
279.92 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 437.9ms 875.8ms 1313.7ms 1751.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 > ? 17 ms 6.1%
users/index 12 ms 4.3%
posts/show 5 ms 1.8%
users/index 31 ms 11.1%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 7 ms 2.5%
home#slow 280 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 30 ms 10.7%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 3 ms 1.1%
home#slow 280 ms 100.0%
home#slow 280 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 6 ms 2.1%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 31 ms 11.1%
layouts/application 17 ms 6.1%
home/index 36 ms 12.9%
home#slow 280 ms 100.0%
home/index 37 ms 13.2%
home#slow 280 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 32 ms 11.4%
SELECT id, name FROM users WHERE email = ? 33 ms 11.8%
SELECT users.*, posts.*, comments.*, COUNT(DISTINCT posts.id) as post_count, COUNT(DISTINCT comments.id) as comment_count, AVG(posts.view_count) as avg_views, MAX(comments.created_at) as latest_comment FROM users LEFT JOIN posts ON users.id = posts.use... 4 ms 1.4%
users/index 39 ms 13.9%
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 > ? 12 ms 4.3%