Request Details

Route
/slow GET
Timestamp
Nov 09, 2026 1:02 AM
Duration
272.93 ms
Status
204
Response Size
97 KB
Error
No

Performance Breakdown

Database
9.3% (11 queries)
View Rendering
10.1%
Application Logic
80.7%
Other Operations
0.0%
Total Operations
26
Slowest Operation
272.93 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 507.4ms 1014.8ms 1522.2ms 2029.6ms

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
posts/show 11 ms 4.0%
SELECT name FROM users 2 ms 0.7%
SELECT * FROM posts WHERE created_at > ? 22 ms 8.1%
layouts/application 16 ms 5.9%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 15 ms 5.5%
posts/show 25 ms 9.2%
users/index 19 ms 7.0%
posts/show 36 ms 13.2%
home/index 25 ms 9.2%
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... 30 ms 11.0%
home#slow 273 ms 100.0%
home#slow 273 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 16 ms 5.9%
home#slow 273 ms 100.0%
posts/show 24 ms 8.8%
SELECT * FROM users WHERE id = ? 35 ms 12.8%
users/index 14 ms 5.1%
home#slow 273 ms 100.0%
home#slow 273 ms 100.0%
home#slow 273 ms 100.0%
SELECT COUNT(*) FROM comments WHERE post_id = ? 4 ms 1.5%
DELETE FROM posts WHERE id = ? 1 ms 0.4%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 34 ms 12.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... 5 ms 1.8%
posts/show 34 ms 12.5%
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 8.8%