Request Details

Route
/slow GET
Timestamp
Sep 16, 2026 7:24 PM
Duration
458.01 ms
Status
201
Response Size
140 KB
Error
No

Performance Breakdown

Database
1.8% (5 queries)
View Rendering
3.7%
Application Logic
94.5%
Other Operations
0.0%
Total Operations
25
Slowest Operation
458.01 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 1332.3ms 2664.5ms 3996.8ms 5329.1ms

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 35 ms 7.6%
home#slow 458 ms 100.0%
home#slow 458 ms 100.0%
home#slow 458 ms 100.0%
SELECT * FROM users WHERE id = ? 18 ms 3.9%
home#slow 458 ms 100.0%
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... 30 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... 24 ms 5.2%
home#slow 458 ms 100.0%
home/index 8 ms 1.7%
posts/show 34 ms 7.4%
home#slow 458 ms 100.0%
layouts/application 23 ms 5.0%
home#slow 458 ms 100.0%
home/index 16 ms 3.5%
home#slow 458 ms 100.0%
users/index 13 ms 2.8%
home#slow 458 ms 100.0%
home/index 12 ms 2.6%
posts/show 37 ms 8.1%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 4 ms 0.9%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 18 ms 3.9%
home#slow 458 ms 100.0%
home#slow 458 ms 100.0%
posts/show 19 ms 4.1%