Request Details

Route
/slow GET
Timestamp
Nov 11, 2026 7:49 PM
Duration
240.74 ms
Status
200
Response Size
130 KB
Error
No

Performance Breakdown

Database
8.2% (8 queries)
View Rendering
8.6%
Application Logic
83.1%
Other Operations
0.0%
Total Operations
19
Slowest Operation
240.74 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 361.9ms 723.8ms 1085.8ms 1447.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
home#slow 241 ms 100.0%
posts/show 33 ms 13.7%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 22 ms 9.1%
home#slow 241 ms 100.0%
SELECT * FROM users WHERE id = ? 16 ms 6.6%
layouts/application 13 ms 5.4%
home#slow 241 ms 100.0%
SELECT COUNT(*) FROM comments WHERE post_id = ? 7 ms 2.9%
users/index 15 ms 6.2%
layouts/application 17 ms 7.1%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 19 ms 7.9%
home#slow 241 ms 100.0%
SELECT name FROM users 19 ms 7.9%
SELECT * FROM (SELECT users.id, users.name, users.email, COUNT(posts.id) as post_count FROM users LEFT JOIN posts ON users.id = posts.user_id WHERE users.active = ? GROUP BY users.id) as user_posts JOIN (SELECT user_id, COUNT(*) as comment_count FROM c... 5 ms 2.1%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 28 ms 11.6%
home#slow 241 ms 100.0%
users/index 12 ms 5.0%
home/index 35 ms 14.5%
SELECT * FROM users WHERE id = ? 3 ms 1.2%