Request Details

Route
/error_prone GET
Timestamp
Sep 22, 2026 2:11 AM
Duration
63.53 ms
Status
204
Response Size
4.4 KB
Error
No

Performance Breakdown

Database
19.8% (7 queries)
View Rendering
15.3%
Application Logic
64.9%
Other Operations
0.0%
Total Operations
19
Slowest Operation
63.53 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 171.4ms 342.9ms 514.3ms 685.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
home#errors 64 ms 100.0%
home/index 8 ms 12.6%
home#errors 64 ms 100.0%
home#errors 64 ms 100.0%
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 > ? 7 ms 11.0%
home/index 31 ms 48.8%
home#errors 64 ms 100.0%
home#errors 64 ms 100.0%
posts/show 6 ms 9.4%
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... 24 ms 37.8%
layouts/application 25 ms 39.4%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 15 ms 23.6%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 3 ms 4.7%
users/index 35 ms 55.1%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 24 ms 37.8%
home#errors 64 ms 100.0%
home#errors 64 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... 32 ms 50.4%
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... 31 ms 48.8%