Request Details

Route
/slow GET
Timestamp
Nov 22, 2026 10:35 AM
Duration
266.48 ms
Status
201
Response Size
170 KB
Error
No

Performance Breakdown

Database
8.2% (11 queries)
View Rendering
9.5%
Application Logic
82.3%
Other Operations
0.0%
Total Operations
26
Slowest Operation
266.48 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 566.6ms 1133.2ms 1699.7ms 2266.3ms

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 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... 11 ms 4.1%
home#slow 266 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 28 ms 10.5%
SELECT * FROM users WHERE id = ? 27 ms 10.1%
SELECT * FROM posts WHERE created_at > ? 14 ms 5.3%
users/index 20 ms 7.5%
layouts/application 39 ms 14.6%
users/index 40 ms 15.0%
posts/show 40 ms 15.0%
home#slow 266 ms 100.0%
home#slow 266 ms 100.0%
home#slow 266 ms 100.0%
users/index 10 ms 3.8%
layouts/application 15 ms 5.6%
home/index 20 ms 7.5%
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... 20 ms 7.5%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 22 ms 8.3%
home#slow 266 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 2 ms 0.8%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 11 ms 4.1%
SELECT * FROM posts WHERE created_at > ? 1 ms 0.4%
SELECT * FROM users WHERE id = ? 15 ms 5.6%
users/index 31 ms 11.6%
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... 35 ms 13.1%
home#slow 266 ms 100.0%
home#slow 266 ms 100.0%