Request Details

Route
/slow GET
Timestamp
Nov 12, 2026 11:11 PM
Duration
222.29 ms
Status
201
Response Size
190 KB
Error
No

Performance Breakdown

Database
7.8% (9 queries)
View Rendering
13.0%
Application Logic
79.3%
Other Operations
0.0%
Total Operations
28
Slowest Operation
222.29 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 560.8ms 1121.7ms 1682.5ms 2243.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
home#slow 222 ms 100.0%
home#slow 222 ms 100.0%
SELECT id, name, email FROM users WHERE id = ? 32 ms 14.4%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 9 ms 4.0%
home#slow 222 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... 30 ms 13.5%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 28 ms 12.6%
home/index 24 ms 10.8%
home#slow 222 ms 100.0%
posts/show 38 ms 17.1%
SELECT id, name FROM users WHERE email = ? 13 ms 5.8%
posts/show 32 ms 14.4%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 9 ms 4.0%
home/index 28 ms 12.6%
home#slow 222 ms 100.0%
SELECT id, name, email FROM users WHERE id = ? 26 ms 11.7%
layouts/application 25 ms 11.2%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 2 ms 0.9%
users/index 40 ms 18.0%
posts/show 21 ms 9.4%
posts/show 15 ms 6.7%
home#slow 222 ms 100.0%
posts/show 20 ms 9.0%
SELECT name FROM users 25 ms 11.2%
home#slow 222 ms 100.0%
home#slow 222 ms 100.0%
home/index 28 ms 12.6%
home/index 20 ms 9.0%