Request Details

Route
/slow GET
Timestamp
Sep 23, 2026 1:39 AM
Duration
457.08 ms
Status
201
Response Size
100 KB
Error
No

Performance Breakdown

Database
5.2% (9 queries)
View Rendering
15.8%
Application Logic
79.0%
Other Operations
0.0%
Total Operations
29
Slowest Operation
457.08 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 578.8ms 1157.7ms 1736.5ms 2315.3ms

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
posts/show 35 ms 7.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... 10 ms 2.2%
SELECT * FROM users WHERE id = ? 28 ms 6.1%
home#slow 457 ms 100.0%
posts/show 14 ms 3.1%
layouts/application 30 ms 6.6%
SELECT name FROM users 8 ms 1.8%
home/index 11 ms 2.4%
home#slow 457 ms 100.0%
layouts/application 16 ms 3.5%
home/index 24 ms 5.3%
home#slow 457 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 21 ms 4.6%
users/index 21 ms 4.6%
users/index 10 ms 2.2%
users/index 30 ms 6.6%
layouts/application 12 ms 2.6%
SELECT * FROM users WHERE id = ? 4 ms 0.9%
users/index 28 ms 6.1%
home#slow 457 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 10 ms 2.2%
layouts/application 39 ms 8.5%
posts/show 12 ms 2.6%
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... 14 ms 3.1%
SELECT COUNT(*) FROM comments WHERE post_id = ? 4 ms 0.9%
SELECT name FROM users 22 ms 4.8%
posts/show 39 ms 8.5%
layouts/application 11 ms 2.4%
home/index 34 ms 7.4%