Request Details

Route
/slow GET
Timestamp
Sep 21, 2026 6:05 AM
Duration
311.81 ms
Status
204
Response Size
210 KB
Error
No

Performance Breakdown

Database
7.3% (8 queries)
View Rendering
8.3%
Application Logic
84.4%
Other Operations
0.0%
Total Operations
23
Slowest Operation
311.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 554.5ms 1108.9ms 1663.4ms 2217.8ms

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
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 8 ms 2.6%
users/index 17 ms 5.5%
home#slow 312 ms 100.0%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 15 ms 4.8%
home#slow 312 ms 100.0%
posts/show 23 ms 7.4%
home#slow 312 ms 100.0%
users/index 12 ms 3.8%
users/index 37 ms 11.9%
home#slow 312 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 28 ms 9.0%
home#slow 312 ms 100.0%
users/index 6 ms 1.9%
users/index 33 ms 10.6%
SELECT DISTINCT users.*, posts.*, comments.* FROM users, posts, comments WHERE users.id = posts.user_id AND posts.id = comments.post_id AND users.created_at > ? AND posts.created_at > ? AND comments.created_at > ? 27 ms 8.7%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 13 ms 4.2%
SELECT DISTINCT users.*, posts.*, comments.* FROM users, posts, comments WHERE users.id = posts.user_id AND posts.id = comments.post_id AND users.created_at > ? AND posts.created_at > ? AND comments.created_at > ? 26 ms 8.3%
home/index 10 ms 3.2%
layouts/application 25 ms 8.0%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 30 ms 9.6%
home#slow 312 ms 100.0%
home/index 22 ms 7.1%
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... 15 ms 4.8%