Request Details

Route
/slow GET
Timestamp
Nov 22, 2026 2:40 PM
Duration
404.84 ms
Status
201
Response Size
130 KB
Error
No

Performance Breakdown

Database
6.0% (4 queries)
View Rendering
18.9%
Application Logic
75.1%
Other Operations
0.0%
Total Operations
16
Slowest Operation
404.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 269.7ms 539.3ms 809.0ms 1078.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
users/index 7 ms 1.7%
SELECT COUNT(*) FROM comments WHERE post_id = ? 1 ms 0.2%
DELETE FROM comments WHERE created_at < ? 21 ms 5.2%
home/index 29 ms 7.2%
posts/show 19 ms 4.7%
SELECT users.*, posts.*, comments.*, COUNT(DISTINCT posts.id) as post_count, COUNT(DISTINCT comments.id) as comment_count, AVG(posts.view_count) as avg_views, MAX(comments.created_at) as latest_comment FROM users LEFT JOIN posts ON users.id = posts.use... 30 ms 7.4%
users/index 21 ms 5.2%
layouts/application 30 ms 7.4%
posts/show 24 ms 5.9%
home/index 15 ms 3.7%
home#slow 405 ms 100.0%
SELECT users.*, posts.*, comments.*, COUNT(DISTINCT posts.id) as post_count, COUNT(DISTINCT comments.id) as comment_count, AVG(posts.view_count) as avg_views, MAX(comments.created_at) as latest_comment FROM users LEFT JOIN posts ON users.id = posts.use... 13 ms 3.2%
home#slow 405 ms 100.0%
posts/show 36 ms 8.9%
users/index 14 ms 3.5%
home/index 9 ms 2.2%