Request Details

Route
/api/v1/users GET
Timestamp
Nov 16, 2026 6:36 AM
Duration
18.83 ms
Status
201
Response Size
8.6 KB
Error
No

Performance Breakdown

Database
59.0% (5 queries)
View Rendering
20.6%
Application Logic
20.4%
Other Operations
0.0%
Total Operations
8
Slowest Operation
38.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
Action
View
Database
0.0ms 46.2ms 92.3ms 138.5ms 184.7ms

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 ? 22 ms 116.8%
api/v1/users#index 19 ms 100.0%
UPDATE posts SET title = ?, content = ?, updated_at = ? WHERE id = ? 20 ms 106.2%
SELECT name FROM users 33 ms 175.3%
api/v1/users#index 19 ms 100.0%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 16 ms 85.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... 18 ms 95.6%
home/index 38 ms 201.8%