Request Details

Route
/slow GET
Timestamp
Sep 11, 2026 1:45 PM
Duration
264.32 ms
Status
201
Response Size
70 KB
Error
No

Performance Breakdown

Database
10.7% (12 queries)
View Rendering
8.7%
Application Logic
80.6%
Other Operations
0.0%
Total Operations
27
Slowest Operation
264.32 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 573.6ms 1147.1ms 1720.7ms 2294.3ms

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 name FROM users 6 ms 2.3%
home#slow 264 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 17 ms 6.4%
posts/show 31 ms 11.7%
posts/show 38 ms 14.4%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 35 ms 13.2%
layouts/application 33 ms 12.5%
home/index 21 ms 7.9%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 13 ms 4.9%
users/index 7 ms 2.6%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 24 ms 9.1%
users/index 8 ms 3.0%
SELECT name FROM users 33 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... 23 ms 8.7%
layouts/application 40 ms 15.1%
SELECT name FROM users 8 ms 3.0%
home#slow 264 ms 100.0%
home#slow 264 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... 22 ms 8.3%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 29 ms 11.0%
home#slow 264 ms 100.0%
users/index 21 ms 7.9%
home#slow 264 ms 100.0%
home#slow 264 ms 100.0%
home#slow 264 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 29 ms 11.0%
SELECT name FROM users 6 ms 2.3%