Request Details

Route
/slow GET
Timestamp
Nov 13, 2026 10:13 PM
Duration
537.02 ms
Status
204
Response Size
76 KB
Error
No

Performance Breakdown

Database
2.3% (6 queries)
View Rendering
3.7%
Application Logic
94.0%
Other Operations
0.0%
Total Operations
23
Slowest Operation
537.02 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 1285.8ms 2571.6ms 3857.4ms 5143.2ms

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
SELECT name FROM users 29 ms 5.4%
users/index 18 ms 3.4%
home#slow 537 ms 100.0%
DELETE FROM comments WHERE created_at < ? 15 ms 2.8%
home#slow 537 ms 100.0%
home#slow 537 ms 100.0%
home#slow 537 ms 100.0%
home#slow 537 ms 100.0%
posts/show 39 ms 7.3%
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... 8 ms 1.5%
home/index 26 ms 4.8%
home#slow 537 ms 100.0%
layouts/application 5 ms 0.9%
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... 27 ms 5.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... 34 ms 6.3%
posts/show 19 ms 3.5%
layouts/application 35 ms 6.5%
home#slow 537 ms 100.0%
users/index 22 ms 4.1%
home#slow 537 ms 100.0%
layouts/application 26 ms 4.8%
home#slow 537 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 7 ms 1.3%