Request Details

Route
/slow GET
Timestamp
Nov 12, 2026 1:56 PM
Duration
418.17 ms
Status
201
Response Size
78 KB
Error
No

Performance Breakdown

Database
2.8% (5 queries)
View Rendering
4.4%
Application Logic
92.8%
Other Operations
0.0%
Total Operations
22
Slowest Operation
418.17 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 1013.9ms 2027.8ms 3041.7ms 4055.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
layouts/application 5 ms 1.2%
users/index 28 ms 6.7%
home/index 22 ms 5.3%
home/index 20 ms 4.8%
home#slow 418 ms 100.0%
home#slow 418 ms 100.0%
home#slow 418 ms 100.0%
home#slow 418 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 33 ms 7.9%
home#slow 418 ms 100.0%
SELECT * FROM users WHERE id = ? 10 ms 2.4%
home#slow 418 ms 100.0%
home#slow 418 ms 100.0%
home/index 40 ms 9.6%
layouts/application 14 ms 3.3%
home/index 15 ms 3.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... 33 ms 7.9%
home#slow 418 ms 100.0%
home#slow 418 ms 100.0%
SELECT * FROM users WHERE id = ? 16 ms 3.8%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 21 ms 5.0%
posts/show 35 ms 8.4%