Request Details

Route
/slow GET
Timestamp
Nov 21, 2026 8:55 PM
Duration
251.45 ms
Status
204
Response Size
73 KB
Error
No

Performance Breakdown

Database
7.9% (8 queries)
View Rendering
6.1%
Application Logic
86.0%
Other Operations
0.0%
Total Operations
18
Slowest Operation
251.45 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 365.6ms 731.1ms 1096.7ms 1462.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 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... 11 ms 4.4%
SELECT name FROM users 28 ms 11.1%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 35 ms 13.9%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 17 ms 6.8%
home#slow 251 ms 100.0%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 5 ms 2.0%
home/index 17 ms 6.8%
home#slow 251 ms 100.0%
home#slow 251 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 5 ms 2.0%
SELECT * FROM users WHERE id = ? 11 ms 4.4%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 4 ms 1.6%
posts/show 24 ms 9.5%
home#slow 251 ms 100.0%
layouts/application 11 ms 4.4%
users/index 12 ms 4.8%
home#slow 251 ms 100.0%
users/index 25 ms 9.9%