Request Details

Route
/error_prone GET
Timestamp
Sep 09, 2026 3:46 PM
Duration
114.75 ms
Status
200
Response Size
6.9 KB
Error
No

Performance Breakdown

Database
17.1% (7 queries)
View Rendering
13.9%
Application Logic
69.0%
Other Operations
0.0%
Total Operations
18
Slowest Operation
114.75 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 207.9ms 415.9ms 623.8ms 831.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 115 ms 100.0%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 4 ms 3.5%
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... 35 ms 30.5%
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 > ? 2 ms 1.7%
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... 30 ms 26.1%
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... 26 ms 22.7%
home#errors 115 ms 100.0%
home#errors 115 ms 100.0%
layouts/application 33 ms 28.8%
users/index 26 ms 22.7%
layouts/application 12 ms 10.5%
users/index 16 ms 13.9%
home#errors 115 ms 100.0%
home#errors 115 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 13 ms 11.3%
posts/show 10 ms 8.7%
home/index 19 ms 16.6%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 32 ms 27.9%