Request Details

Route
/slow GET
Timestamp
Sep 20, 2026 4:14 PM
Duration
153.08 ms
Status
204
Response Size
49 KB
Error
No

Performance Breakdown

Database
8.4% (7 queries)
View Rendering
13.6%
Application Logic
78.1%
Other Operations
0.0%
Total Operations
24
Slowest Operation
153.08 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 392.2ms 784.3ms 1176.5ms 1568.6ms

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
posts/show 22 ms 14.4%
home#slow 153 ms 100.0%
home/index 17 ms 11.1%
home/index 30 ms 19.6%
home#slow 153 ms 100.0%
home#slow 153 ms 100.0%
SELECT * FROM users WHERE id = ? 3 ms 2.0%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 21 ms 13.7%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 24 ms 15.7%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 32 ms 20.9%
home#slow 153 ms 100.0%
home/index 12 ms 7.8%
home#slow 153 ms 100.0%
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... 31 ms 20.3%
layouts/application 32 ms 20.9%
home/index 7 ms 4.6%
users/index 35 ms 22.9%
home#slow 153 ms 100.0%
SELECT * FROM users WHERE id = ? 16 ms 10.5%
layouts/application 25 ms 16.3%
posts/show 33 ms 21.6%
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... 4 ms 2.6%
home#slow 153 ms 100.0%
home#slow 153 ms 100.0%