Request Details

Route
/slow GET
Timestamp
Nov 19, 2026 7:15 PM
Duration
302.55 ms
Status
201
Response Size
190 KB
Error
No

Performance Breakdown

Database
2.7% (6 queries)
View Rendering
2.2%
Application Logic
95.2%
Other Operations
0.0%
Total Operations
20
Slowest Operation
302.55 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 874.3ms 1748.5ms 2622.8ms 3497.0ms

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 303 ms 100.0%
home#slow 303 ms 100.0%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 25 ms 8.3%
posts/show 25 ms 8.3%
home#slow 303 ms 100.0%
home#slow 303 ms 100.0%
home#slow 303 ms 100.0%
home#slow 303 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 7 ms 2.3%
home#slow 303 ms 100.0%
home/index 29 ms 9.6%
home#slow 303 ms 100.0%
home/index 22 ms 7.3%
home#slow 303 ms 100.0%
SELECT users.* FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id WHERE users.active = ? AND posts.published = ? AND comments.approved = ? OR users.created_at > ? AND posts.created_at > ? AND commen... 24 ms 7.9%
home#slow 303 ms 100.0%
DELETE FROM posts WHERE id = ? 8 ms 2.6%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 6 ms 2.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 23 ms 7.6%
home#slow 303 ms 100.0%