Request Details

Route
/slow GET
Timestamp
Nov 19, 2026 4:39 AM
Duration
575.02 ms
Status
200
Response Size
120 KB
Error
No

Performance Breakdown

Database
4.9% (10 queries)
View Rendering
5.6%
Application Logic
89.5%
Other Operations
0.0%
Total Operations
26
Slowest Operation
575.02 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 1123.8ms 2247.6ms 3371.4ms 4495.1ms

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
users/index 15 ms 2.6%
home#slow 575 ms 100.0%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 23 ms 4.0%
home#slow 575 ms 100.0%
home#slow 575 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 25 ms 4.3%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 32 ms 5.6%
home#slow 575 ms 100.0%
posts/show 32 ms 5.6%
users/index 40 ms 7.0%
SELECT users.* FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id WHERE users.active = ? AND posts.published = ? AND comments.approved = ? OR users.created_at > ? AND posts.created_at > ? AND commen... 32 ms 5.6%
SELECT users.*, posts.*, comments.*, COUNT(DISTINCT posts.id) as post_count, COUNT(DISTINCT comments.id) as comment_count, AVG(posts.view_count) as avg_views, MAX(comments.created_at) as latest_comment FROM users LEFT JOIN posts ON users.id = posts.use... 25 ms 4.3%
DELETE FROM posts WHERE id = ? 21 ms 3.7%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 21 ms 3.7%
users/index 12 ms 2.1%
posts/show 17 ms 3.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 34 ms 5.9%
users/index 36 ms 6.3%
home#slow 575 ms 100.0%
home#slow 575 ms 100.0%
SELECT * FROM users WHERE id = ? 4 ms 0.7%
layouts/application 29 ms 5.0%
home#slow 575 ms 100.0%
SELECT COUNT(*) FROM comments WHERE post_id = ? 3 ms 0.5%
layouts/application 32 ms 5.6%
layouts/application 37 ms 6.4%