Request Details

Route
/slow GET
Timestamp
Nov 20, 2026 10:35 AM
Duration
442.95 ms
Status
204
Response Size
72 KB
Error
No

Performance Breakdown

Database
2.1% (10 queries)
View Rendering
4.2%
Application Logic
93.6%
Other Operations
0.0%
Total Operations
30
Slowest Operation
442.95 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 1301.1ms 2602.2ms 3903.4ms 5204.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
SELECT * FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id LEFT JOIN tags ON posts.id = tags.post_id LEFT JOIN categories ON posts.category_id = categories.id WHERE users.active = ? AND posts.publi... 20 ms 4.5%
home#slow 443 ms 100.0%
home#slow 443 ms 100.0%
layouts/application 31 ms 7.0%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 3 ms 0.7%
home#slow 443 ms 100.0%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 18 ms 4.1%
SELECT * FROM users WHERE id = ? 2 ms 0.5%
home#slow 443 ms 100.0%
home#slow 443 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... 16 ms 3.6%
layouts/application 18 ms 4.1%
users/index 27 ms 6.1%
SELECT * FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id LEFT JOIN tags ON posts.id = tags.post_id LEFT JOIN categories ON posts.category_id = categories.id WHERE users.active = ? AND posts.publi... 22 ms 5.0%
layouts/application 13 ms 2.9%
layouts/application 10 ms 2.3%
users/index 40 ms 9.0%
home#slow 443 ms 100.0%
home#slow 443 ms 100.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 20 ms 4.5%
SELECT name FROM users 6 ms 1.4%
SELECT id, name, email FROM users WHERE id = ? 2 ms 0.5%
home/index 21 ms 4.7%
SELECT * FROM posts WHERE created_at > ? 2 ms 0.5%
home/index 38 ms 8.6%
home/index 23 ms 5.2%
home#slow 443 ms 100.0%
home#slow 443 ms 100.0%
home#slow 443 ms 100.0%
home#slow 443 ms 100.0%