Request Details

Route
/slow GET
Timestamp
Sep 22, 2026 1:55 PM
Duration
237.41 ms
Status
200
Response Size
55 KB
Error
No

Performance Breakdown

Database
5.2% (9 queries)
View Rendering
9.9%
Application Logic
84.9%
Other Operations
0.0%
Total Operations
28
Slowest Operation
237.41 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 699.0ms 1398.1ms 2097.1ms 2796.1ms

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 237 ms 100.0%
home#slow 237 ms 100.0%
home#slow 237 ms 100.0%
home#slow 237 ms 100.0%
SELECT name FROM users 13 ms 5.5%
users/index 39 ms 16.4%
layouts/application 34 ms 14.3%
users/index 26 ms 11.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... 16 ms 6.7%
SELECT name FROM users 7 ms 2.9%
posts/show 25 ms 10.5%
home#slow 237 ms 100.0%
SELECT COUNT(*) FROM comments WHERE post_id = ? 18 ms 7.6%
users/index 24 ms 10.1%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 5 ms 2.1%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 14 ms 5.9%
layouts/application 32 ms 13.5%
SELECT * FROM users WHERE id = ? 23 ms 9.7%
home#slow 237 ms 100.0%
posts/show 38 ms 16.0%
home#slow 237 ms 100.0%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 28 ms 11.8%
home/index 21 ms 8.8%
home#slow 237 ms 100.0%
home#slow 237 ms 100.0%
posts/show 37 ms 15.6%
home#slow 237 ms 100.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 22 ms 9.3%