Request Details

Route
/slow GET
Timestamp
Sep 19, 2026 12:51 AM
Duration
383.58 ms
Status
204
Response Size
47 KB
Error
No

Performance Breakdown

Database
4.5% (7 queries)
View Rendering
6.9%
Application Logic
88.6%
Other Operations
0.0%
Total Operations
23
Slowest Operation
383.58 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 757.8ms 1515.5ms 2273.3ms 3031.0ms

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 384 ms 100.0%
home#slow 384 ms 100.0%
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... 10 ms 2.6%
home/index 30 ms 7.8%
SELECT * FROM posts WHERE created_at > ? 9 ms 2.3%
home#slow 384 ms 100.0%
SELECT name FROM users 35 ms 9.1%
home#slow 384 ms 100.0%
home/index 25 ms 6.5%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 12 ms 3.1%
home#slow 384 ms 100.0%
users/index 30 ms 7.8%
DELETE FROM comments WHERE created_at < ? 12 ms 3.1%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 33 ms 8.6%
home/index 7 ms 1.8%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 26 ms 6.8%
posts/show 25 ms 6.5%
home#slow 384 ms 100.0%
home#slow 384 ms 100.0%
users/index 24 ms 6.3%
layouts/application 30 ms 7.8%
users/index 9 ms 2.3%
layouts/application 29 ms 7.6%