Request Details

Route
/error_prone GET
Timestamp
Sep 13, 2026 7:40 AM
Duration
21.46 ms
Status
204
Response Size
6.2 KB
Error
No

Performance Breakdown

Database
19.0% (6 queries)
View Rendering
45.2%
Application Logic
35.8%
Other Operations
0.0%
Total Operations
20
Slowest Operation
32.0 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 105.1ms 210.1ms 315.2ms 420.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
home#errors 21 ms 100.0%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 16 ms 74.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... 19 ms 88.5%
SELECT * FROM posts WHERE created_at > ? 17 ms 79.2%
home#errors 21 ms 100.0%
SELECT * FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id LEFT JOIN tags ON posts.id = tags.post_id LEFT JOIN categories ON posts.category_id = categories.id WHERE users.active = ? AND posts.publi... 1 ms 4.7%
posts/show 31 ms 144.4%
home#errors 21 ms 100.0%
home/index 32 ms 149.1%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 11 ms 51.2%
users/index 28 ms 130.5%
SELECT COUNT(*) FROM comments WHERE post_id = ? 16 ms 74.5%
users/index 27 ms 125.8%
layouts/application 29 ms 135.1%
home#errors 21 ms 100.0%
home#errors 21 ms 100.0%
posts/show 18 ms 83.9%
home#errors 21 ms 100.0%
users/index 25 ms 116.5%
home#errors 21 ms 100.0%