Request Details

Route
/slow GET
Timestamp
Nov 08, 2026 5:53 PM
Duration
328.28 ms
Status
204
Response Size
120 KB
Error
No

Performance Breakdown

Database
6.1% (7 queries)
View Rendering
1.5%
Application Logic
92.4%
Other Operations
0.0%
Total Operations
16
Slowest Operation
328.28 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 532.9ms 1065.8ms 1598.8ms 2131.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
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 27 ms 8.2%
SELECT users.*, COUNT(DISTINCT posts.id) as post_count, COUNT(DISTINCT comments.id) as comment_count, SUM(posts.view_count) as total_views, AVG(posts.view_count) as avg_views, MIN(posts.created_at) as first_post, MAX(posts.created_at) as latest_post FR... 5 ms 1.5%
home#slow 328 ms 100.0%
layouts/application 5 ms 1.5%
home#slow 328 ms 100.0%
home/index 5 ms 1.5%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 10 ms 3.0%
home#slow 328 ms 100.0%
users/index 22 ms 6.7%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 10 ms 3.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 19 ms 5.8%
home#slow 328 ms 100.0%
home#slow 328 ms 100.0%
home#slow 328 ms 100.0%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 25 ms 7.6%
SELECT users.*, COUNT(DISTINCT posts.id) as post_count, COUNT(DISTINCT comments.id) as comment_count, SUM(posts.view_count) as total_views, AVG(posts.view_count) as avg_views, MIN(posts.created_at) as first_post, MAX(posts.created_at) as latest_post FR... 34 ms 10.4%