Request Details

Route
/slow GET
Timestamp
Nov 20, 2026 4:29 PM
Duration
326.62 ms
Status
200
Response Size
170 KB
Error
No

Performance Breakdown

Database
13.2% (8 queries)
View Rendering
9.0%
Application Logic
77.8%
Other Operations
0.0%
Total Operations
18
Slowest Operation
326.62 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 315.0ms 629.9ms 944.9ms 1259.9ms

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 327 ms 100.0%
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... 29 ms 8.9%
SELECT * FROM users WHERE id = ? 10 ms 3.1%
SELECT * FROM users WHERE id = ? 31 ms 9.5%
home/index 9 ms 2.8%
users/index 40 ms 12.2%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 1 ms 0.3%
home/index 18 ms 5.5%
home#slow 327 ms 100.0%
SELECT id, name FROM users WHERE email = ? 19 ms 5.8%
layouts/application 14 ms 4.3%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 32 ms 9.8%
home#slow 327 ms 100.0%
layouts/application 7 ms 2.1%
users/index 18 ms 5.5%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 21 ms 6.4%
home/index 8 ms 2.4%
SELECT * FROM users WHERE id = ? 23 ms 7.0%