Request Details

Route
/slow GET
Timestamp
Sep 10, 2026 5:41 AM
Duration
507.59 ms
Status
200
Response Size
120 KB
Error
No

Performance Breakdown

Database
1.4% (5 queries)
View Rendering
3.0%
Application Logic
95.6%
Other Operations
0.0%
Total Operations
20
Slowest Operation
507.59 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 1062.2ms 2124.3ms 3186.5ms 4248.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 508 ms 100.0%
home#slow 508 ms 100.0%
home#slow 508 ms 100.0%
home#slow 508 ms 100.0%
home#slow 508 ms 100.0%
users/index 12 ms 2.4%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 19 ms 3.7%
users/index 15 ms 3.0%
posts/show 34 ms 6.7%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 4 ms 0.8%
posts/show 13 ms 2.6%
home#slow 508 ms 100.0%
posts/show 36 ms 7.1%
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 > ? 7 ms 1.4%
SELECT name FROM users 11 ms 2.2%
home/index 10 ms 2.0%
layouts/application 9 ms 1.8%
SELECT * FROM posts WHERE created_at > ? 18 ms 3.5%
home#slow 508 ms 100.0%
home#slow 508 ms 100.0%