Request Details

Route
/slow GET
Timestamp
Nov 14, 2026 2:07 PM
Duration
244.97 ms
Status
200
Response Size
190 KB
Error
No

Performance Breakdown

Database
14.2% (11 queries)
View Rendering
10.3%
Application Logic
75.5%
Other Operations
0.0%
Total Operations
26
Slowest Operation
244.97 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 486.7ms 973.4ms 1460.1ms 1946.8ms

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/index 13 ms 5.3%
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 > ? 29 ms 11.8%
home#slow 245 ms 100.0%
posts/show 28 ms 11.4%
layouts/application 17 ms 6.9%
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 9.8%
home#slow 245 ms 100.0%
home/index 8 ms 3.3%
posts/show 30 ms 12.2%
posts/show 25 ms 10.2%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 32 ms 13.1%
home/index 32 ms 13.1%
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... 16 ms 6.5%
users/index 38 ms 15.5%
home#slow 245 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 5 ms 2.0%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 12 ms 4.9%
layouts/application 9 ms 3.7%
SELECT * FROM posts WHERE created_at > ? 35 ms 14.3%
home#slow 245 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 34 ms 13.9%
home#slow 245 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 > ? 35 ms 14.3%
home#slow 245 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 34 ms 13.9%
SELECT * FROM posts WHERE created_at > ? 21 ms 8.6%