Request Details

Route
/slow GET
Timestamp
Sep 21, 2026 5:04 AM
Duration
418.52 ms
Status
200
Response Size
170 KB
Error
No

Performance Breakdown

Database
2.4% (7 queries)
View Rendering
4.9%
Application Logic
92.8%
Other Operations
0.0%
Total Operations
25
Slowest Operation
418.52 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 1015.2ms 2030.3ms 3045.5ms 4060.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 users.*, COUNT(DISTINCT posts.id) as post_count, COUNT(DISTINCT comments.id) as comment_count, SUM(posts.view_count) as total_views, AVG(posts.view_count) as avg_views, MIN(posts.created_at) as first_post, MAX(posts.created_at) as latest_post FR... 28 ms 6.7%
users/index 37 ms 8.8%
home/index 6 ms 1.4%
SELECT * FROM users WHERE id = ? 2 ms 0.5%
home#slow 419 ms 100.0%
home#slow 419 ms 100.0%
home#slow 419 ms 100.0%
home#slow 419 ms 100.0%
home/index 32 ms 7.6%
layouts/application 18 ms 4.3%
home#slow 419 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 4 ms 1.0%
home#slow 419 ms 100.0%
layouts/application 21 ms 5.0%
users/index 13 ms 3.1%
home#slow 419 ms 100.0%
home/index 38 ms 9.1%
home#slow 419 ms 100.0%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 6 ms 1.4%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 2 ms 0.5%
posts/show 25 ms 6.0%
DELETE FROM posts WHERE id = ? 34 ms 8.1%
users/index 8 ms 1.9%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 20 ms 4.8%
home#slow 419 ms 100.0%