Request Details

Route
/slow GET
Timestamp
Sep 22, 2026 9:53 PM
Duration
186.02 ms
Status
200
Response Size
140 KB
Error
No

Performance Breakdown

Database
5.0% (6 queries)
View Rendering
8.5%
Application Logic
86.6%
Other Operations
0.0%
Total Operations
28
Slowest Operation
186.02 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 590.8ms 1181.6ms 1772.4ms 2363.2ms

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
users/index 32 ms 17.2%
posts/show 7 ms 3.8%
home#slow 186 ms 100.0%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 25 ms 13.4%
home/index 7 ms 3.8%
home#slow 186 ms 100.0%
home#slow 186 ms 100.0%
DELETE FROM posts WHERE id = ? 31 ms 16.7%
home#slow 186 ms 100.0%
layouts/application 13 ms 7.0%
SELECT name FROM users 23 ms 12.4%
users/index 28 ms 15.1%
posts/show 16 ms 8.6%
home/index 10 ms 5.4%
home#slow 186 ms 100.0%
home#slow 186 ms 100.0%
layouts/application 14 ms 7.5%
layouts/application 31 ms 16.7%
home/index 25 ms 13.4%
home#slow 186 ms 100.0%
SELECT * FROM (SELECT users.id, users.name, users.email, COUNT(posts.id) as post_count FROM users LEFT JOIN posts ON users.id = posts.user_id WHERE users.active = ? GROUP BY users.id) as user_posts JOIN (SELECT user_id, COUNT(*) as comment_count FROM c... 3 ms 1.6%
home#slow 186 ms 100.0%
posts/show 17 ms 9.1%
DELETE FROM comments WHERE created_at < ? 12 ms 6.5%
SELECT * FROM (SELECT users.id, users.name, users.email, COUNT(posts.id) as post_count FROM users LEFT JOIN posts ON users.id = posts.user_id WHERE users.active = ? GROUP BY users.id) as user_posts JOIN (SELECT user_id, COUNT(*) as comment_count FROM c... 23 ms 12.4%
home#slow 186 ms 100.0%
home#slow 186 ms 100.0%
home#slow 186 ms 100.0%