Request Details

Route
/slow GET
Timestamp
Sep 16, 2026 3:05 AM
Duration
370.65 ms
Status
200
Response Size
100 KB
Error
No

Performance Breakdown

Database
3.0% (6 queries)
View Rendering
5.2%
Application Logic
91.8%
Other Operations
0.0%
Total Operations
20
Slowest Operation
370.65 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 807.8ms 1615.6ms 2423.4ms 3231.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
layouts/application 26 ms 7.0%
home#slow 371 ms 100.0%
home#slow 371 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 18 ms 4.9%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 24 ms 6.5%
SELECT id, name FROM users WHERE email = ? 16 ms 4.3%
home#slow 371 ms 100.0%
home#slow 371 ms 100.0%
home#slow 371 ms 100.0%
home/index 38 ms 10.3%
layouts/application 37 ms 10.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 19 ms 5.1%
home/index 8 ms 2.2%
home#slow 371 ms 100.0%
posts/show 23 ms 6.2%
home#slow 371 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 3 ms 0.8%
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... 18 ms 4.9%
posts/show 36 ms 9.7%
home#slow 371 ms 100.0%