Request Details

Route
/slow GET
Timestamp
Sep 09, 2026 4:49 PM
Duration
297.81 ms
Status
200
Response Size
110 KB
Error
No

Performance Breakdown

Database
3.0% (7 queries)
View Rendering
7.9%
Application Logic
89.1%
Other Operations
0.0%
Total Operations
30
Slowest Operation
297.81 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 919.0ms 1838.0ms 2757.0ms 3676.0ms

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/index 7 ms 2.4%
DELETE FROM posts WHERE id = ? 21 ms 7.1%
SELECT * FROM users WHERE id = ? 23 ms 7.7%
users/index 21 ms 7.1%
posts/show 37 ms 12.4%
home#slow 298 ms 100.0%
posts/show 5 ms 1.7%
home#slow 298 ms 100.0%
home/index 34 ms 11.4%
posts/show 24 ms 8.1%
home#slow 298 ms 100.0%
home#slow 298 ms 100.0%
posts/show 11 ms 3.7%
home#slow 298 ms 100.0%
home#slow 298 ms 100.0%
home#slow 298 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... 8 ms 2.7%
home#slow 298 ms 100.0%
posts/show 21 ms 7.1%
DELETE FROM posts WHERE id = ? 3 ms 1.0%
layouts/application 31 ms 10.4%
SELECT name FROM users 2 ms 0.7%
DELETE FROM posts WHERE id = ? 32 ms 10.7%
layouts/application 35 ms 11.8%
layouts/application 40 ms 13.4%
home#slow 298 ms 100.0%
posts/show 25 ms 8.4%
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... 20 ms 6.7%
home#slow 298 ms 100.0%
home#slow 298 ms 100.0%