Request Details

Route
/slow GET
Timestamp
Sep 19, 2026 4:39 AM
Duration
473.29 ms
Status
200
Response Size
170 KB
Error
No

Performance Breakdown

Database
2.3% (5 queries)
View Rendering
5.8%
Application Logic
91.8%
Other Operations
0.0%
Total Operations
21
Slowest Operation
473.29 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 901.8ms 1803.5ms 2705.3ms 3607.0ms

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 473 ms 100.0%
home/index 39 ms 8.2%
SELECT * FROM users WHERE id = ? 30 ms 6.3%
SELECT name FROM users 4 ms 0.8%
home#slow 473 ms 100.0%
home/index 21 ms 4.4%
SELECT * FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id LEFT JOIN tags ON posts.id = tags.post_id LEFT JOIN categories ON posts.category_id = categories.id WHERE users.active = ? AND posts.publi... 27 ms 5.7%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 13 ms 2.7%
home#slow 473 ms 100.0%
users/index 5 ms 1.1%
home#slow 473 ms 100.0%
home#slow 473 ms 100.0%
home#slow 473 ms 100.0%
layouts/application 21 ms 4.4%
users/index 27 ms 5.7%
home#slow 473 ms 100.0%
layouts/application 25 ms 5.3%
home/index 24 ms 5.1%
posts/show 37 ms 7.8%
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... 10 ms 2.1%
layouts/application 11 ms 2.3%