Request Details

Route
/slow GET
Timestamp
Nov 21, 2026 8:06 PM
Duration
295.18 ms
Status
201
Response Size
110 KB
Error
No

Performance Breakdown

Database
1.1% (4 queries)
View Rendering
5.9%
Application Logic
93.0%
Other Operations
0.0%
Total Operations
20
Slowest Operation
295.18 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 634.6ms 1269.2ms 1903.8ms 2538.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
layouts/application 8 ms 2.7%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 3 ms 1.0%
home#slow 295 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... 12 ms 4.1%
users/index 13 ms 4.4%
layouts/application 40 ms 13.6%
posts/show 19 ms 6.4%
SELECT name FROM users 1 ms 0.3%
layouts/application 18 ms 6.1%
home#slow 295 ms 100.0%
users/index 18 ms 6.1%
home#slow 295 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 11 ms 3.7%
home#slow 295 ms 100.0%
home#slow 295 ms 100.0%
layouts/application 5 ms 1.7%
home#slow 295 ms 100.0%
home#slow 295 ms 100.0%
users/index 29 ms 9.8%
home#slow 295 ms 100.0%