Request Details

Route
/slow GET
Timestamp
Nov 15, 2026 8:45 PM
Duration
592.26 ms
Status
204
Response Size
140 KB
Error
No

Performance Breakdown

Database
2.6% (7 queries)
View Rendering
1.7%
Application Logic
95.7%
Other Operations
0.0%
Total Operations
19
Slowest Operation
592.26 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 1392.1ms 2784.2ms 4176.2ms 5568.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
SELECT * FROM posts WHERE created_at > ? 26 ms 4.4%
home#slow 592 ms 100.0%
home#slow 592 ms 100.0%
home#slow 592 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... 5 ms 0.8%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 21 ms 3.5%
home#slow 592 ms 100.0%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 18 ms 3.0%
layouts/application 38 ms 6.4%
posts/show 38 ms 6.4%
posts/show 17 ms 2.9%
home#slow 592 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 25 ms 4.2%
home#slow 592 ms 100.0%
home#slow 592 ms 100.0%
home#slow 592 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 18 ms 3.0%
home#slow 592 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... 32 ms 5.4%