Request Details

Route
/slow GET
Timestamp
Sep 15, 2026 6:30 AM
Duration
290.87 ms
Status
200
Response Size
110 KB
Error
No

Performance Breakdown

Database
4.3% (7 queries)
View Rendering
14.4%
Application Logic
81.4%
Other Operations
0.0%
Total Operations
27
Slowest Operation
290.87 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 536.3ms 1072.6ms 1608.9ms 2145.2ms

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 40 ms 13.8%
layouts/application 5 ms 1.7%
home/index 23 ms 7.9%
layouts/application 37 ms 12.7%
home/index 39 ms 13.4%
SELECT * FROM posts WHERE created_at > ? 1 ms 0.3%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 34 ms 11.7%
home#slow 291 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 3 ms 1.0%
posts/show 32 ms 11.0%
home#slow 291 ms 100.0%
home#slow 291 ms 100.0%
users/index 17 ms 5.8%
SELECT * FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id LEFT JOIN tags ON posts.id = tags.post_id LEFT JOIN categories ON posts.category_id = categories.id WHERE users.active = ? AND posts.publi... 19 ms 6.5%
home#slow 291 ms 100.0%
layouts/application 21 ms 7.2%
layouts/application 24 ms 8.3%
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... 23 ms 7.9%
users/index 20 ms 6.9%
home/index 5 ms 1.7%
home#slow 291 ms 100.0%
layouts/application 10 ms 3.4%
users/index 20 ms 6.9%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 10 ms 3.4%
posts/show 15 ms 5.2%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 2 ms 0.7%
home#slow 291 ms 100.0%