Request Details

Route
/slow GET
Timestamp
Sep 15, 2026 9:39 AM
Duration
417.87 ms
Status
204
Response Size
100 KB
Error
No

Performance Breakdown

Database
2.6% (8 queries)
View Rendering
6.8%
Application Logic
90.6%
Other Operations
0.0%
Total Operations
30
Slowest Operation
417.87 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 1038.0ms 2075.9ms 3113.9ms 4151.8ms

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/index 12 ms 2.9%
posts/show 27 ms 6.5%
home/index 27 ms 6.5%
layouts/application 5 ms 1.2%
home#slow 418 ms 100.0%
posts/show 25 ms 6.0%
users/index 36 ms 8.6%
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... 30 ms 7.2%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 2 ms 0.5%
home#slow 418 ms 100.0%
posts/show 27 ms 6.5%
layouts/application 37 ms 8.9%
SELECT name FROM users 34 ms 8.1%
home#slow 418 ms 100.0%
posts/show 18 ms 4.3%
home#slow 418 ms 100.0%
SELECT * FROM users WHERE id = ? 10 ms 2.4%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 10 ms 2.4%
home#slow 418 ms 100.0%
layouts/application 9 ms 2.2%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 4 ms 1.0%
home#slow 418 ms 100.0%
home#slow 418 ms 100.0%
posts/show 8 ms 1.9%
layouts/application 40 ms 9.6%
home#slow 418 ms 100.0%
home#slow 418 ms 100.0%
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... 11 ms 2.6%
posts/show 13 ms 3.1%
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... 6 ms 1.4%