Request Details

Route
/slow GET
Timestamp
Sep 16, 2026 1:01 AM
Duration
285.17 ms
Status
201
Response Size
42 KB
Error
No

Performance Breakdown

Database
6.3% (6 queries)
View Rendering
14.5%
Application Logic
79.2%
Other Operations
0.0%
Total Operations
17
Slowest Operation
285.17 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 360.2ms 720.3ms 1080.5ms 1440.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
layouts/application 39 ms 13.7%
home/index 29 ms 10.2%
posts/show 35 ms 12.3%
users/index 10 ms 3.5%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 4 ms 1.4%
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 11.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... 14 ms 4.9%
SELECT DISTINCT users.*, posts.*, comments.* FROM users, posts, comments WHERE users.id = posts.user_id AND posts.id = comments.post_id AND users.created_at > ? AND posts.created_at > ? AND comments.created_at > ? 5 ms 1.8%
posts/show 29 ms 10.2%
home#slow 285 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... 16 ms 5.6%
posts/show 27 ms 9.5%
home#slow 285 ms 100.0%
home#slow 285 ms 100.0%
layouts/application 40 ms 14.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 20 ms 7.0%
home#slow 285 ms 100.0%