Request Details

Route
/slow GET
Timestamp
Nov 09, 2026 7:38 AM
Duration
1150.56 ms
Status
201
Response Size
110 KB
Error
No

Performance Breakdown

Database
2.4% (10 queries)
View Rendering
2.9%
Application Logic
94.7%
Other Operations
0.0%
Total Operations
24
Slowest Operation
1150.56 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 1822.1ms 3644.2ms 5466.3ms 7288.4ms

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 1151 ms 100.0%
home/index 34 ms 3.0%
SELECT * FROM users WHERE id = ? 14 ms 1.2%
home/index 34 ms 3.0%
DELETE FROM posts WHERE id = ? 22 ms 1.9%
home#slow 1151 ms 100.0%
home#slow 1151 ms 100.0%
home#slow 1151 ms 100.0%
layouts/application 40 ms 3.5%
users/index 10 ms 0.9%
SELECT * FROM posts WHERE created_at > ? 10 ms 0.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 3.0%
SELECT name FROM users 19 ms 1.7%
SELECT name FROM users 7 ms 0.6%
home#slow 1151 ms 100.0%
layouts/application 26 ms 2.3%
home#slow 1151 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 18 ms 1.6%
layouts/application 19 ms 1.7%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 29 ms 2.5%
SELECT * FROM users WHERE id = ? 10 ms 0.9%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 12 ms 1.0%
posts/show 24 ms 2.1%
users/index 23 ms 2.0%