Request Details

Route
/slow GET
Timestamp
Nov 21, 2026 5:03 PM
Duration
318.02 ms
Status
200
Response Size
90 KB
Error
No

Performance Breakdown

Database
9.5% (14 queries)
View Rendering
6.6%
Application Logic
84.0%
Other Operations
0.0%
Total Operations
30
Slowest Operation
318.02 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 662.8ms 1325.6ms 1988.4ms 2651.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
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 25 ms 7.9%
home/index 33 ms 10.4%
SELECT * FROM users WHERE id = ? 4 ms 1.3%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 22 ms 6.9%
posts/show 16 ms 5.0%
SELECT name FROM users 10 ms 3.1%
users/index 9 ms 2.8%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 4 ms 1.3%
home/index 27 ms 8.5%
home#slow 318 ms 100.0%
users/index 28 ms 8.8%
home/index 29 ms 9.1%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 23 ms 7.2%
SELECT id, name FROM users WHERE email = ? 33 ms 10.4%
DELETE FROM posts WHERE id = ? 24 ms 7.5%
posts/show 20 ms 6.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... 4 ms 1.3%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 27 ms 8.5%
users/index 5 ms 1.6%
SELECT id, name, email FROM users WHERE id = ? 28 ms 8.8%
home#slow 318 ms 100.0%
posts/show 7 ms 2.2%
home#slow 318 ms 100.0%
home#slow 318 ms 100.0%
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... 21 ms 6.6%
home#slow 318 ms 100.0%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 9 ms 2.8%
SELECT * FROM users WHERE id = ? 17 ms 5.3%
home#slow 318 ms 100.0%
home#slow 318 ms 100.0%