Request Details

Route
/slow GET
Timestamp
Nov 08, 2026 8:53 PM
Duration
354.29 ms
Status
201
Response Size
77 KB
Error
No

Performance Breakdown

Database
4.3% (6 queries)
View Rendering
4.4%
Application Logic
91.3%
Other Operations
0.0%
Total Operations
17
Slowest Operation
354.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 582.2ms 1164.4ms 1746.6ms 2328.8ms

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 posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 24 ms 6.8%
users/index 13 ms 3.7%
layouts/application 29 ms 8.2%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 12 ms 3.4%
SELECT name FROM users 18 ms 5.1%
home#slow 354 ms 100.0%
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 7.1%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 3 ms 0.8%
home#slow 354 ms 100.0%
home#slow 354 ms 100.0%
SELECT * FROM posts WHERE created_at > ? 19 ms 5.4%
home#slow 354 ms 100.0%
home#slow 354 ms 100.0%
users/index 36 ms 10.2%
home#slow 354 ms 100.0%
home/index 15 ms 4.2%
users/index 9 ms 2.5%