Request Details

Route
/slow GET
Timestamp
Sep 20, 2026 5:50 AM
Duration
472.93 ms
Status
200
Response Size
91 KB
Error
No

Performance Breakdown

Database
4.7% (9 queries)
View Rendering
2.9%
Application Logic
92.5%
Other Operations
0.0%
Total Operations
24
Slowest Operation
472.93 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 1150.8ms 2301.7ms 3452.5ms 4603.4ms

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 473 ms 100.0%
home#slow 473 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 23 ms 4.9%
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... 27 ms 5.7%
home/index 5 ms 1.1%
home#slow 473 ms 100.0%
SELECT * FROM users WHERE id = ? 32 ms 6.8%
SELECT name FROM users 21 ms 4.4%
home#slow 473 ms 100.0%
SELECT id, name FROM users WHERE email = ? 10 ms 2.1%
users/index 20 ms 4.2%
users/index 33 ms 7.0%
posts/show 13 ms 2.7%
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... 24 ms 5.1%
layouts/application 26 ms 5.5%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 33 ms 7.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 34 ms 7.2%
home#slow 473 ms 100.0%
home#slow 473 ms 100.0%
home#slow 473 ms 100.0%
home#slow 473 ms 100.0%
users/index 35 ms 7.4%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 11 ms 2.3%
home#slow 473 ms 100.0%