Request Details

Route
/slow GET
Timestamp
Sep 23, 2026 4:12 AM
Duration
262.41 ms
Status
200
Response Size
160 KB
Error
No

Performance Breakdown

Database
5.3% (7 queries)
View Rendering
8.4%
Application Logic
86.4%
Other Operations
0.0%
Total Operations
25
Slowest Operation
262.41 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 531.7ms 1063.4ms 1595.2ms 2126.9ms

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 created_at > ? 27 ms 10.3%
SELECT * FROM posts WHERE created_at > ? 2 ms 0.8%
SELECT name FROM users 26 ms 9.9%
home#slow 262 ms 100.0%
SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ? 13 ms 5.0%
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ? 6 ms 2.3%
home#slow 262 ms 100.0%
home#slow 262 ms 100.0%
posts/show 6 ms 2.3%
users/index 5 ms 1.9%
home#slow 262 ms 100.0%
posts/show 21 ms 8.0%
users/index 15 ms 5.7%
home#slow 262 ms 100.0%
home/index 15 ms 5.7%
posts/show 12 ms 4.6%
home/index 26 ms 9.9%
home#slow 262 ms 100.0%
home#slow 262 ms 100.0%
posts/show 17 ms 6.5%
users/index 35 ms 13.3%
home/index 8 ms 3.0%
SELECT DISTINCT users.*, posts.*, comments.* FROM users, posts, comments WHERE users.id = posts.user_id AND posts.id = comments.post_id AND users.created_at > ? AND posts.created_at > ? AND comments.created_at > ? 30 ms 11.4%
INSERT INTO posts (user_id, title, content, published, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?) 8 ms 3.0%
users/index 18 ms 6.9%