Request Details

Route
/api/v1/users GET
Timestamp
Nov 13, 2026 5:21 AM
Duration
79.02 ms
Status
200
Response Size
5.3 KB
Error
No

Performance Breakdown

Database
5.4% (2 queries)
View Rendering
9.2%
Application Logic
85.4%
Other Operations
0.0%
Total Operations
6
Slowest Operation
79.02 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.3ms 92.5ms 138.8ms 185.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
home/index 5 ms 6.3%
api/v1/users#index 79 ms 100.0%
SELECT * FROM (SELECT users.id, users.name, users.email, COUNT(posts.id) as post_count FROM users LEFT JOIN posts ON users.id = posts.user_id WHERE users.active = ? GROUP BY users.id) as user_posts JOIN (SELECT user_id, COUNT(*) as comment_count FROM c... 6 ms 7.6%
SELECT * FROM (SELECT users.id, users.name, users.email, COUNT(posts.id) as post_count FROM users LEFT JOIN posts ON users.id = posts.user_id WHERE users.active = ? GROUP BY users.id) as user_posts JOIN (SELECT user_id, COUNT(*) as comment_count FROM c... 4 ms 5.1%
api/v1/users#index 79 ms 100.0%
home/index 12 ms 15.2%