Request Details

Route
/slow GET
Timestamp
Nov 15, 2026 5:46 AM
Duration
551.06 ms
Status
201
Response Size
53 KB
Error
No

Performance Breakdown

Database
1.9% (5 queries)
View Rendering
5.0%
Application Logic
93.1%
Other Operations
0.0%
Total Operations
26
Slowest Operation
551.06 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 1183.9ms 2367.7ms 3551.6ms 4735.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 6 ms 1.1%
layouts/application 9 ms 1.6%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 35 ms 6.4%
posts/show 23 ms 4.2%
posts/show 12 ms 2.2%
home/index 9 ms 1.6%
home#slow 551 ms 100.0%
users/index 12 ms 2.2%
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... 8 ms 1.5%
home#slow 551 ms 100.0%
posts/show 14 ms 2.5%
home#slow 551 ms 100.0%
home#slow 551 ms 100.0%
home#slow 551 ms 100.0%
home#slow 551 ms 100.0%
home#slow 551 ms 100.0%
home/index 23 ms 4.2%
UPDATE posts SET view_count = view_count + ? WHERE published = ? 23 ms 4.2%
home/index 11 ms 2.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 19 ms 3.4%
layouts/application 25 ms 4.5%
SELECT * FROM users WHERE id = ? 4 ms 0.7%
home#slow 551 ms 100.0%
home/index 34 ms 6.2%
home/index 24 ms 4.4%
home/index 36 ms 6.5%