Request Details

Route
/slow GET
Timestamp
Nov 16, 2026 1:57 AM
Duration
483.56 ms
Status
201
Response Size
180 KB
Error
No

Performance Breakdown

Database
5.0% (11 queries)
View Rendering
4.1%
Application Logic
90.9%
Other Operations
0.0%
Total Operations
27
Slowest Operation
483.56 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 1063.9ms 2127.7ms 3191.6ms 4255.5ms

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 32 ms 6.6%
SELECT * FROM users WHERE id = ? 9 ms 1.9%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 28 ms 5.8%
SELECT * FROM posts WHERE created_at > ? 10 ms 2.1%
home#slow 484 ms 100.0%
layouts/application 23 ms 4.8%
home#slow 484 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... 34 ms 7.0%
users/index 10 ms 2.1%
home#slow 484 ms 100.0%
home#slow 484 ms 100.0%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 34 ms 7.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 26 ms 5.4%
SELECT name FROM users 4 ms 0.8%
layouts/application 9 ms 1.9%
home#slow 484 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 5 ms 1.0%
home#slow 484 ms 100.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 25 ms 5.2%
home/index 10 ms 2.1%
layouts/application 38 ms 7.9%
layouts/application 31 ms 6.4%
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 > ? 10 ms 2.1%
home#slow 484 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... 29 ms 6.0%
home#slow 484 ms 100.0%
posts/show 20 ms 4.1%