Request Details

Route
/slow GET
Timestamp
Nov 22, 2026 4:22 AM
Duration
275.22 ms
Status
503
Response Size
1.4 KB
Error
Yes

Performance Breakdown

Database
5.2% (8 queries)
View Rendering
8.2%
Application Logic
86.5%
Other Operations
0.0%
Total Operations
30
Slowest Operation
275.22 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 795.3ms 1590.6ms 2385.9ms 3181.2ms

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#slow 275 ms 100.0%
layouts/application 14 ms 5.1%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 35 ms 12.7%
users/index 24 ms 8.7%
layouts/application 12 ms 4.4%
home#slow 275 ms 100.0%
users/index 13 ms 4.7%
home#slow 275 ms 100.0%
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... 19 ms 6.9%
home/index 20 ms 7.3%
layouts/application 31 ms 11.3%
home/index 32 ms 11.6%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 25 ms 9.1%
layouts/application 30 ms 10.9%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 34 ms 12.4%
home#slow 275 ms 100.0%
users/index 38 ms 13.8%
home#slow 275 ms 100.0%
home#slow 275 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... 13 ms 4.7%
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... 31 ms 11.3%
layouts/application 7 ms 2.5%
home#slow 275 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... 2 ms 0.7%
home#slow 275 ms 100.0%
layouts/application 10 ms 3.6%
SELECT name FROM users 8 ms 2.9%
home#slow 275 ms 100.0%
home#slow 275 ms 100.0%
posts/show 31 ms 11.3%