Request Details

Route
/slow GET
Timestamp
Sep 18, 2026 6:06 PM
Duration
230.82 ms
Status
204
Response Size
59 KB
Error
No

Performance Breakdown

Database
11.0% (9 queries)
View Rendering
18.9%
Application Logic
70.1%
Other Operations
0.0%
Total Operations
25
Slowest Operation
230.82 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 329.3ms 658.6ms 988.0ms 1317.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 name FROM users 20 ms 8.7%
home/index 21 ms 9.1%
posts/show 11 ms 4.8%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 5 ms 2.2%
users/index 24 ms 10.4%
layouts/application 13 ms 5.6%
home/index 24 ms 10.4%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 29 ms 12.6%
users/index 35 ms 15.2%
posts/show 13 ms 5.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 > ? 15 ms 6.5%
users/index 24 ms 10.4%
home#slow 231 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... 7 ms 3.0%
layouts/application 12 ms 5.2%
layouts/application 23 ms 10.0%
home#slow 231 ms 100.0%
posts/show 21 ms 9.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... 28 ms 12.1%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 26 ms 11.3%
SELECT name FROM users 4 ms 1.7%
users/index 28 ms 12.1%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 11 ms 4.8%
home#slow 231 ms 100.0%
home#slow 231 ms 100.0%