Request Details

Route
/slow GET
Timestamp
Nov 14, 2026 3:45 PM
Duration
251.65 ms
Status
204
Response Size
160 KB
Error
No

Performance Breakdown

Database
7.0% (10 queries)
View Rendering
8.7%
Application Logic
84.3%
Other Operations
0.0%
Total Operations
25
Slowest Operation
251.65 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 597.1ms 1194.1ms 1791.2ms 2388.2ms

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
home/index 37 ms 14.7%
SELECT * FROM posts WHERE created_at > ? 29 ms 11.5%
home#slow 252 ms 100.0%
home/index 24 ms 9.5%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 4 ms 1.6%
posts/show 26 ms 10.3%
home#slow 252 ms 100.0%
home#slow 252 ms 100.0%
posts/show 35 ms 13.9%
posts/show 23 ms 9.1%
SELECT name FROM users 20 ms 7.9%
users/index 31 ms 12.3%
home#slow 252 ms 100.0%
users/index 31 ms 12.3%
SELECT name FROM users 13 ms 5.2%
home#slow 252 ms 100.0%
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... 25 ms 9.9%
SELECT name FROM users 22 ms 8.7%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 26 ms 10.3%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 10 ms 4.0%
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... 13 ms 5.2%
home#slow 252 ms 100.0%
home#slow 252 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 6 ms 2.4%
home#slow 252 ms 100.0%