Request Details

Route
/slow GET
Timestamp
Sep 14, 2026 2:53 PM
Duration
326.93 ms
Status
201
Response Size
77 KB
Error
No

Performance Breakdown

Database
3.5% (10 queries)
View Rendering
3.8%
Application Logic
92.7%
Other Operations
0.0%
Total Operations
29
Slowest Operation
326.93 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 1058.0ms 2116.1ms 3174.1ms 4232.2ms

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 * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 15 ms 4.6%
home#slow 327 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 5 ms 1.5%
posts/show 8 ms 2.4%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 21 ms 6.4%
home#slow 327 ms 100.0%
home#slow 327 ms 100.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 1 ms 0.3%
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... 15 ms 4.6%
home#slow 327 ms 100.0%
home#slow 327 ms 100.0%
home#slow 327 ms 100.0%
SELECT id, name, email FROM users WHERE id = ? 13 ms 4.0%
home#slow 327 ms 100.0%
home#slow 327 ms 100.0%
home#slow 327 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 3 ms 0.9%
posts/show 31 ms 9.5%
users/index 11 ms 3.4%
SELECT * FROM posts WHERE created_at > ? 21 ms 6.4%
SELECT * FROM users WHERE id = ? 24 ms 7.3%
home/index 32 ms 9.8%
home#slow 327 ms 100.0%
home/index 28 ms 8.6%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 29 ms 8.9%
home#slow 327 ms 100.0%
users/index 31 ms 9.5%
users/index 21 ms 6.4%
home#slow 327 ms 100.0%