Request Details

Route
/error_prone GET
Timestamp
Sep 11, 2026 8:56 AM
Duration
22.43 ms
Status
204
Response Size
4.6 KB
Error
No

Performance Breakdown

Database
18.9% (5 queries)
View Rendering
62.2%
Application Logic
18.9%
Other Operations
0.0%
Total Operations
18
Slowest Operation
36.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 88.8ms 177.6ms 266.5ms 355.3ms

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 12 ms 53.5%
home#errors 22 ms 100.0%
users/index 19 ms 84.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... 18 ms 80.3%
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... 29 ms 129.3%
home/index 36 ms 160.5%
home#errors 22 ms 100.0%
home#errors 22 ms 100.0%
users/index 29 ms 129.3%
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... 3 ms 13.4%
posts/show 16 ms 71.3%
layouts/application 12 ms 53.5%
users/index 35 ms 156.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... 13 ms 58.0%
posts/show 25 ms 111.5%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 4 ms 17.8%
layouts/application 21 ms 93.6%
users/index 16 ms 71.3%