Request Details

Route
/slow GET
Timestamp
Sep 12, 2026 1:58 AM
Duration
256.24 ms
Status
200
Response Size
100 KB
Error
No

Performance Breakdown

Database
6.6% (7 queries)
View Rendering
7.2%
Application Logic
86.2%
Other Operations
0.0%
Total Operations
20
Slowest Operation
256.24 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 519.9ms 1039.8ms 1559.8ms 2079.7ms

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 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 5.9%
home#slow 256 ms 100.0%
home/index 30 ms 11.7%
SELECT * FROM users WHERE id = ? 12 ms 4.7%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 24 ms 9.4%
users/index 27 ms 10.5%
layouts/application 34 ms 13.3%
home#slow 256 ms 100.0%
layouts/application 30 ms 11.7%
home#slow 256 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 21 ms 8.2%
SELECT * FROM posts WHERE created_at > ? 2 ms 0.8%
posts/show 13 ms 5.1%
users/index 15 ms 5.9%
home#slow 256 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... 35 ms 13.7%
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 10.9%
home#slow 256 ms 100.0%
home#slow 256 ms 100.0%
home#slow 256 ms 100.0%