Request Details

Route
/slow GET
Timestamp
Sep 13, 2026 3:21 PM
Duration
308.48 ms
Status
204
Response Size
120 KB
Error
No

Performance Breakdown

Database
7.3% (8 queries)
View Rendering
7.8%
Application Logic
84.9%
Other Operations
0.0%
Total Operations
21
Slowest Operation
308.48 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 544.7ms 1089.4ms 1634.2ms 2178.9ms

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
layouts/application 19 ms 6.2%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 27 ms 8.8%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 8 ms 2.6%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 22 ms 7.1%
home#slow 308 ms 100.0%
layouts/application 35 ms 11.3%
users/index 26 ms 8.4%
SELECT name FROM users 25 ms 8.1%
home#slow 308 ms 100.0%
users/index 13 ms 4.2%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 35 ms 11.3%
home#slow 308 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 13 ms 4.2%
SELECT name FROM users 27 ms 8.8%
home#slow 308 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 2 ms 0.6%
posts/show 22 ms 7.1%
home#slow 308 ms 100.0%
posts/show 26 ms 8.4%
posts/show 28 ms 9.1%
home#slow 308 ms 100.0%