Request Details

Route
/slow GET
Timestamp
Nov 12, 2026 8:26 PM
Duration
317.22 ms
Status
201
Response Size
150 KB
Error
No

Performance Breakdown

Database
3.9% (5 queries)
View Rendering
4.9%
Application Logic
91.2%
Other Operations
0.0%
Total Operations
16
Slowest Operation
317.22 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 521.6ms 1043.2ms 1564.8ms 2086.3ms

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
users/index 22 ms 6.9%
SELECT name FROM users 17 ms 5.4%
home#slow 317 ms 100.0%
home#slow 317 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 9 ms 2.8%
home#slow 317 ms 100.0%
DELETE FROM posts WHERE id = ? 11 ms 3.5%
layouts/application 12 ms 3.8%
users/index 37 ms 11.7%
posts/show 14 ms 4.4%
home#slow 317 ms 100.0%
home#slow 317 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... 28 ms 8.8%
home/index 17 ms 5.4%
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... 16 ms 5.0%
home#slow 317 ms 100.0%