Request Details

Route
/users/:id/settings GET|PATCH
Timestamp
Sep 23, 2026 12:36 AM
Duration
64.15 ms
Status
200
Response Size
12 KB
Error
No

Performance Breakdown

Database
36.0% (3 queries)
View Rendering
64.0%
Application Logic
0.0%
Other Operations
0.0%
Total Operations
7
Slowest Operation
36.0 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
View
Database
0.0ms 40.3ms 80.5ms 120.8ms 161.0ms

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
UPDATE posts SET view_count = view_count + ? WHERE published = ? 26 ms 40.5%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 9 ms 14.0%
users/index 18 ms 28.1%
posts/show 27 ms 42.1%
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 > ? 23 ms 35.9%
users/index 36 ms 56.1%
users/index 22 ms 34.3%