Request Details

Route
/api/v1/users GET
Timestamp
Sep 23, 2026 1:50 AM
Duration
54.17 ms
Status
204
Response Size
14 KB
Error
No

Performance Breakdown

Database
41.5% (5 queries)
View Rendering
25.9%
Application Logic
32.6%
Other Operations
0.0%
Total Operations
8
Slowest Operation
54.17 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 41.5ms 83.1ms 124.6ms 166.2ms

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 ? 7 ms 12.9%
SELECT users.* FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id WHERE users.active = ? AND posts.published = ? AND comments.approved = ? OR users.created_at > ? AND posts.created_at > ? AND commen... 2 ms 3.7%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 33 ms 60.9%
SELECT * FROM posts WHERE created_at > ? 11 ms 20.3%
users/index 19 ms 35.1%
api/v1/users#index 54 ms 100.0%
SELECT users.* FROM users LEFT JOIN posts ON users.id = posts.user_id LEFT JOIN comments ON posts.id = comments.post_id WHERE users.active = ? AND posts.published = ? AND comments.approved = ? OR users.created_at > ? AND posts.created_at > ? AND commen... 16 ms 29.5%
posts/show 24 ms 44.3%