Request Details

Route
/slow GET
Timestamp
Sep 14, 2026 5:07 AM
Duration
295.78 ms
Status
204
Response Size
220 KB
Error
No

Performance Breakdown

Database
9.5% (8 queries)
View Rendering
6.1%
Application Logic
84.4%
Other Operations
0.0%
Total Operations
18
Slowest Operation
295.78 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 438.2ms 876.4ms 1314.7ms 1752.9ms

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 15 ms 5.1%
home#slow 296 ms 100.0%
home#slow 296 ms 100.0%
home#slow 296 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 29 ms 9.8%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 18 ms 6.1%
posts/show 13 ms 4.4%
users/index 39 ms 13.2%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 21 ms 7.1%
SELECT * FROM (SELECT users.id, users.name, users.email, COUNT(posts.id) as post_count FROM users LEFT JOIN posts ON users.id = posts.user_id WHERE users.active = ? GROUP BY users.id) as user_posts JOIN (SELECT user_id, COUNT(*) as comment_count FROM c... 15 ms 5.1%
home#slow 296 ms 100.0%
SELECT * FROM (SELECT users.id, users.name, users.email, COUNT(posts.id) as post_count FROM users LEFT JOIN posts ON users.id = posts.user_id WHERE users.active = ? GROUP BY users.id) as user_posts JOIN (SELECT user_id, COUNT(*) as comment_count FROM c... 16 ms 5.4%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 33 ms 11.2%
home/index 11 ms 3.7%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 3 ms 1.0%
layouts/application 29 ms 9.8%
home#slow 296 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 32 ms 10.8%