Request Details

Route
/slow GET
Timestamp
Nov 16, 2026 10:07 AM
Duration
201.58 ms
Status
200
Response Size
130 KB
Error
No

Performance Breakdown

Database
8.8% (6 queries)
View Rendering
21.0%
Application Logic
70.2%
Other Operations
0.0%
Total Operations
24
Slowest Operation
201.58 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 358.7ms 717.4ms 1076.2ms 1434.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 7.4%
home#slow 202 ms 100.0%
home/index 26 ms 12.9%
posts/show 11 ms 5.5%
layouts/application 32 ms 15.9%
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... 21 ms 10.4%
posts/show 13 ms 6.4%
home#slow 202 ms 100.0%
SELECT * FROM users WHERE id = ? 11 ms 5.5%
layouts/application 37 ms 18.4%
users/index 27 ms 13.4%
home#slow 202 ms 100.0%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 13 ms 6.4%
users/index 5 ms 2.5%
layouts/application 33 ms 16.4%
users/index 32 ms 15.9%
layouts/application 39 ms 19.3%
home#slow 202 ms 100.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... 30 ms 14.9%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 35 ms 17.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... 16 ms 7.9%
home/index 21 ms 10.4%
home#slow 202 ms 100.0%
layouts/application 10 ms 5.0%