Request Details

Route
/ GET
Timestamp
Sep 20, 2026 7:40 AM
Duration
128.83 ms
Status
201
Response Size
20 KB
Error
No

Performance Breakdown

Database
31.5% (8 queries)
View Rendering
18.7%
Application Logic
49.8%
Other Operations
0.0%
Total Operations
14
Slowest Operation
128.83 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 129.4ms 258.8ms 388.2ms 517.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 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... 29 ms 22.5%
home#index 129 ms 100.0%
SELECT * FROM users WHERE id = ? 1 ms 0.8%
home#index 129 ms 100.0%
SELECT name FROM users 35 ms 27.2%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 11 ms 8.5%
SELECT users.*, posts.*, comments.*, COUNT(DISTINCT posts.id) as post_count, COUNT(DISTINCT comments.id) as comment_count, AVG(posts.view_count) as avg_views, MAX(comments.created_at) as latest_comment FROM users LEFT JOIN posts ON users.id = posts.use... 32 ms 24.8%
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... 27 ms 21.0%
posts/show 8 ms 6.2%
home/index 18 ms 14.0%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 8 ms 6.2%
home/index 38 ms 29.5%
users/index 33 ms 25.6%
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... 20 ms 15.5%