Request Details

Route
/slow GET
Timestamp
Sep 13, 2026 3:56 PM
Duration
257.24 ms
Status
201
Response Size
140 KB
Error
No

Performance Breakdown

Database
1.3% (3 queries)
View Rendering
10.9%
Application Logic
87.8%
Other Operations
0.0%
Total Operations
29
Slowest Operation
257.24 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 806.2ms 1612.3ms 2418.5ms 3224.6ms

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 33 ms 12.8%
posts/show 9 ms 3.5%
layouts/application 10 ms 3.9%
users/index 19 ms 7.4%
home/index 29 ms 11.3%
layouts/application 36 ms 14.0%
posts/show 12 ms 4.7%
users/index 17 ms 6.6%
posts/show 11 ms 4.3%
home#slow 257 ms 100.0%
home#slow 257 ms 100.0%
home#slow 257 ms 100.0%
layouts/application 17 ms 6.6%
SELECT users.*, COUNT(DISTINCT posts.id) as post_count, COUNT(DISTINCT comments.id) as comment_count, SUM(posts.view_count) as total_views, AVG(posts.view_count) as avg_views, MIN(posts.created_at) as first_post, MAX(posts.created_at) as latest_post FR... 29 ms 11.3%
home#slow 257 ms 100.0%
users/index 39 ms 15.2%
posts/show 37 ms 14.4%
home#slow 257 ms 100.0%
home#slow 257 ms 100.0%
home#slow 257 ms 100.0%
home#slow 257 ms 100.0%
home#slow 257 ms 100.0%
home/index 34 ms 13.2%
layouts/application 12 ms 4.7%
SELECT * FROM users WHERE id = ? 2 ms 0.8%
users/index 37 ms 14.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... 12 ms 4.7%
home#slow 257 ms 100.0%
home#slow 257 ms 100.0%