Request Details

Route
/slow GET
Timestamp
Sep 20, 2026 2:25 PM
Duration
411.82 ms
Status
201
Response Size
81 KB
Error
No

Performance Breakdown

Database
5.8% (9 queries)
View Rendering
6.8%
Application Logic
87.4%
Other Operations
0.0%
Total Operations
28
Slowest Operation
411.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 941.9ms 1883.8ms 2825.7ms 3767.5ms

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 posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 32 ms 7.8%
home#slow 412 ms 100.0%
posts/show 17 ms 4.1%
home#slow 412 ms 100.0%
posts/show 23 ms 5.6%
home/index 11 ms 2.7%
home#slow 412 ms 100.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 4 ms 1.0%
posts/show 23 ms 5.6%
home#slow 412 ms 100.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 16 ms 3.9%
home/index 15 ms 3.6%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 35 ms 8.5%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 32 ms 7.8%
users/index 36 ms 8.7%
users/index 7 ms 1.7%
home/index 35 ms 8.5%
home#slow 412 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... 14 ms 3.4%
home/index 33 ms 8.0%
home#slow 412 ms 100.0%
home#slow 412 ms 100.0%
home#slow 412 ms 100.0%
SELECT name FROM users 33 ms 8.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 18 ms 4.4%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 33 ms 8.0%
layouts/application 18 ms 4.4%
home/index 38 ms 9.2%