Request Details

Route
/slow GET
Timestamp
Sep 20, 2026 12:29 PM
Duration
258.16 ms
Status
204
Response Size
180 KB
Error
No

Performance Breakdown

Database
7.6% (10 queries)
View Rendering
4.2%
Application Logic
88.1%
Other Operations
0.0%
Total Operations
23
Slowest Operation
258.16 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 585.8ms 1171.7ms 1757.5ms 2343.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
home#slow 258 ms 100.0%
users/index 9 ms 3.5%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 19 ms 7.4%
SELECT name FROM users 8 ms 3.1%
home#slow 258 ms 100.0%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 27 ms 10.5%
home#slow 258 ms 100.0%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 24 ms 9.3%
posts/show 12 ms 4.6%
users/index 35 ms 13.6%
home#slow 258 ms 100.0%
SELECT * FROM users WHERE id = ? 19 ms 7.4%
home#slow 258 ms 100.0%
layouts/application 37 ms 14.3%
home/index 6 ms 2.3%
home#slow 258 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 > ? 18 ms 7.0%
SELECT COUNT(*) FROM comments WHERE post_id = ? 21 ms 8.1%
SELECT * FROM users WHERE id = ? 22 ms 8.5%
home#slow 258 ms 100.0%
SELECT name FROM users 8 ms 3.1%
home#slow 258 ms 100.0%
SELECT name FROM users 13 ms 5.0%