Request Details

Route
/slow GET
Timestamp
Nov 15, 2026 4:44 PM
Duration
396.38 ms
Status
204
Response Size
170 KB
Error
No

Performance Breakdown

Database
1.8% (8 queries)
View Rendering
2.2%
Application Logic
96.0%
Other Operations
0.0%
Total Operations
28
Slowest Operation
396.38 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 1445.1ms 2890.2ms 4335.3ms 5780.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 posts WHERE created_at > ? 11 ms 2.8%
home#slow 396 ms 100.0%
SELECT name FROM users 14 ms 3.5%
home#slow 396 ms 100.0%
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 > ? 28 ms 7.1%
home#slow 396 ms 100.0%
home/index 28 ms 7.1%
home#slow 396 ms 100.0%
posts/show 35 ms 8.8%
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 2.8%
posts/show 9 ms 2.3%
home#slow 396 ms 100.0%
home#slow 396 ms 100.0%
home#slow 396 ms 100.0%
home#slow 396 ms 100.0%
SELECT name FROM users 4 ms 1.0%
users/index 8 ms 2.0%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 3 ms 0.8%
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... 28 ms 7.1%
home#slow 396 ms 100.0%
posts/show 10 ms 2.5%
layouts/application 38 ms 9.6%
home#slow 396 ms 100.0%
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... 4 ms 1.0%
home#slow 396 ms 100.0%
home#slow 396 ms 100.0%
home#slow 396 ms 100.0%
home#slow 396 ms 100.0%