Request Details

Route
/error_prone GET
Timestamp
Sep 10, 2026 2:34 AM
Duration
41.78 ms
Status
200
Response Size
3.8 KB
Error
No

Performance Breakdown

Database
34.0% (8 queries)
View Rendering
31.1%
Application Logic
34.9%
Other Operations
0.0%
Total Operations
18
Slowest Operation
41.78 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 119.8ms 239.6ms 359.3ms 479.1ms

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 14 ms 33.5%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 23 ms 55.0%
home/index 29 ms 69.4%
home#errors 42 ms 100.0%
home#errors 42 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... 19 ms 45.5%
home#errors 42 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 15 ms 35.9%
SELECT name FROM users 35 ms 83.8%
home/index 33 ms 79.0%
DELETE FROM posts WHERE id = ? 18 ms 43.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... 27 ms 64.6%
users/index 19 ms 45.5%
layouts/application 32 ms 76.6%
home/index 22 ms 52.7%
home#errors 42 ms 100.0%
SELECT name FROM users 11 ms 26.3%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 15 ms 35.9%