Request Details

Route
/slow GET
Timestamp
Sep 18, 2026 11:24 AM
Duration
210.71 ms
Status
200
Response Size
230 KB
Error
No

Performance Breakdown

Database
2.6% (7 queries)
View Rendering
2.4%
Application Logic
95.0%
Other Operations
0.0%
Total Operations
21
Slowest Operation
210.71 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 665.1ms 1330.3ms 1995.4ms 2660.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 * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 2 ms 0.9%
home#slow 211 ms 100.0%
SELECT name FROM users 16 ms 7.6%
home#slow 211 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 1 ms 0.5%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 2 ms 0.9%
home/index 37 ms 17.6%
home#slow 211 ms 100.0%
home#slow 211 ms 100.0%
home#slow 211 ms 100.0%
home#slow 211 ms 100.0%
home#slow 211 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 7 ms 3.3%
SELECT COUNT(*) FROM comments WHERE post_id = ? 31 ms 14.7%
home#slow 211 ms 100.0%
posts/show 27 ms 12.8%
home#slow 211 ms 100.0%
home#slow 211 ms 100.0%
home#slow 211 ms 100.0%
home#slow 211 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 > ? 9 ms 4.3%