Request Details

Route
/slow GET
Timestamp
Nov 12, 2026 1:02 PM
Duration
244.31 ms
Status
200
Response Size
120 KB
Error
No

Performance Breakdown

Database
15.2% (11 queries)
View Rendering
9.6%
Application Logic
75.2%
Other Operations
0.0%
Total Operations
23
Slowest Operation
244.31 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 406.1ms 812.3ms 1218.4ms 1624.5ms

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 22 ms 9.0%
home#slow 244 ms 100.0%
SELECT DISTINCT users.*, posts.*, comments.* FROM users, posts, comments WHERE users.id = posts.user_id AND posts.id = comments.post_id AND users.created_at > ? AND posts.created_at > ? AND comments.created_at > ? 26 ms 10.6%
home#slow 244 ms 100.0%
home#slow 244 ms 100.0%
SELECT id, name, email FROM users WHERE id = ? 25 ms 10.2%
posts/show 21 ms 8.6%
DELETE FROM posts WHERE id = ? 6 ms 2.5%
users/index 30 ms 12.3%
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... 24 ms 9.8%
layouts/application 13 ms 5.3%
home#slow 244 ms 100.0%
SELECT DISTINCT users.*, posts.*, comments.* FROM users, posts, comments WHERE users.id = posts.user_id AND posts.id = comments.post_id AND users.created_at > ? AND posts.created_at > ? AND comments.created_at > ? 22 ms 9.0%
users/index 5 ms 2.0%
SELECT * FROM users WHERE id = ? 7 ms 2.9%
home/index 31 ms 12.7%
SELECT * FROM users WHERE id = ? 25 ms 10.2%
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... 34 ms 13.9%
SELECT * FROM posts WHERE created_at > ? 34 ms 13.9%
SELECT * FROM users WHERE id = ? 30 ms 12.3%
users/index 34 ms 13.9%
home#slow 244 ms 100.0%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 14 ms 5.7%