Request Details

Route
/slow GET
Timestamp
Sep 10, 2026 11:24 PM
Duration
336.86 ms
Status
200
Response Size
76 KB
Error
No

Performance Breakdown

Database
3.3% (4 queries)
View Rendering
9.7%
Application Logic
87.0%
Other Operations
0.0%
Total Operations
20
Slowest Operation
336.86 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 580.5ms 1161.1ms 1741.6ms 2322.1ms

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 user_id = ? ORDER BY created_at DESC LIMIT ? 10 ms 3.0%
users/index 7 ms 2.1%
layouts/application 13 ms 3.9%
home#slow 337 ms 100.0%
posts/show 5 ms 1.5%
posts/show 34 ms 10.1%
layouts/application 34 ms 10.1%
SELECT name FROM users 20 ms 5.9%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 11 ms 3.3%
layouts/application 21 ms 6.2%
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... 35 ms 10.4%
home#slow 337 ms 100.0%
layouts/application 19 ms 5.6%
home#slow 337 ms 100.0%
posts/show 16 ms 4.7%
home/index 40 ms 11.9%
home#slow 337 ms 100.0%
layouts/application 36 ms 10.7%
home#slow 337 ms 100.0%
home#slow 337 ms 100.0%