Request Details

Route
/slow GET
Timestamp
Nov 21, 2026 9:05 PM
Duration
269.22 ms
Status
201
Response Size
160 KB
Error
No

Performance Breakdown

Database
7.2% (9 queries)
View Rendering
12.4%
Application Logic
80.4%
Other Operations
0.0%
Total Operations
29
Slowest Operation
269.22 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 585.6ms 1171.3ms 1756.9ms 2342.5ms

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#slow 269 ms 100.0%
SELECT name FROM users 15 ms 5.6%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 14 ms 5.2%
home/index 37 ms 13.7%
posts/show 29 ms 10.8%
posts/show 19 ms 7.1%
home#slow 269 ms 100.0%
users/index 18 ms 6.7%
layouts/application 25 ms 9.3%
layouts/application 9 ms 3.3%
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... 21 ms 7.8%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 35 ms 13.0%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 28 ms 10.4%
posts/show 18 ms 6.7%
posts/show 36 ms 13.4%
posts/show 19 ms 7.1%
home#slow 269 ms 100.0%
home#slow 269 ms 100.0%
SELECT name FROM users 10 ms 3.7%
SELECT name FROM users 9 ms 3.3%
home/index 38 ms 14.1%
home#slow 269 ms 100.0%
home#slow 269 ms 100.0%
users/index 6 ms 2.2%
layouts/application 12 ms 4.5%
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... 27 ms 10.0%
home#slow 269 ms 100.0%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 9 ms 3.3%
users/index 24 ms 8.9%