Request Details

Route
/slow GET
Timestamp
Sep 22, 2026 7:12 AM
Duration
368.84 ms
Status
201
Response Size
100 KB
Error
No

Performance Breakdown

Database
6.3% (8 queries)
View Rendering
5.8%
Application Logic
87.9%
Other Operations
0.0%
Total Operations
25
Slowest Operation
368.84 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 838.9ms 1677.9ms 2516.8ms 3355.7ms

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 369 ms 100.0%
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 7.3%
users/index 16 ms 4.3%
posts/show 32 ms 8.7%
layouts/application 5 ms 1.4%
posts/show 12 ms 3.3%
users/index 30 ms 8.1%
home#slow 369 ms 100.0%
SELECT name FROM users 25 ms 6.8%
home/index 18 ms 4.9%
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... 34 ms 9.2%
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... 32 ms 8.7%
layouts/application 37 ms 10.0%
home#slow 369 ms 100.0%
home#slow 369 ms 100.0%
home#slow 369 ms 100.0%
home/index 8 ms 2.2%
SELECT * FROM posts WHERE created_at > ? 32 ms 8.7%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 7 ms 1.9%
home#slow 369 ms 100.0%
home#slow 369 ms 100.0%
users/index 37 ms 10.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 31 ms 8.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... 22 ms 6.0%
home#slow 369 ms 100.0%