Request Details

Route
/slow GET
Timestamp
Sep 23, 2026 12:59 AM
Duration
309.31 ms
Status
201
Response Size
180 KB
Error
No

Performance Breakdown

Database
7.9% (5 queries)
View Rendering
25.5%
Application Logic
66.6%
Other Operations
0.0%
Total Operations
23
Slowest Operation
309.31 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 348.5ms 697.0ms 1045.5ms 1393.9ms

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 15 ms 4.8%
home#slow 309 ms 100.0%
layouts/application 37 ms 12.0%
posts/show 29 ms 9.4%
layouts/application 5 ms 1.6%
users/index 12 ms 3.9%
layouts/application 31 ms 10.0%
users/index 28 ms 9.1%
users/index 13 ms 4.2%
layouts/application 26 ms 8.4%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 23 ms 7.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... 14 ms 4.5%
users/index 28 ms 9.1%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 26 ms 8.4%
posts/show 15 ms 4.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... 29 ms 9.4%
posts/show 13 ms 4.2%
home#slow 309 ms 100.0%
home/index 36 ms 11.6%
home#slow 309 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 18 ms 5.8%
posts/show 32 ms 10.3%
layouts/application 36 ms 11.6%