Request Details

Route
/error_prone GET
Timestamp
Sep 11, 2026 6:13 AM
Duration
30.25 ms
Status
500
Response Size
1.5 KB
Error
Yes

Performance Breakdown

Database
18.4% (5 queries)
View Rendering
31.0%
Application Logic
50.6%
Other Operations
0.0%
Total Operations
17
Slowest Operation
40.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 104.7ms 209.4ms 314.0ms 418.7ms

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
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 8 ms 26.4%
home#errors 30 ms 100.0%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 3 ms 9.9%
posts/show 24 ms 79.3%
layouts/application 40 ms 132.2%
home#errors 30 ms 100.0%
home#errors 30 ms 100.0%
home#errors 30 ms 100.0%
users/index 32 ms 105.8%
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 > ? 4 ms 13.2%
users/index 12 ms 39.7%
SELECT users.* FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id WHERE users.active = ? AND posts.published = ? AND comments.approved = ? OR users.created_at > ? AND posts.created_at > ? AND commen... 31 ms 102.5%
home#errors 30 ms 100.0%
home#errors 30 ms 100.0%
DELETE FROM comments WHERE created_at < ? 31 ms 102.5%
posts/show 22 ms 72.7%
home#errors 30 ms 100.0%