Request Details

Route
/api_simple GET
Timestamp
Sep 15, 2026 4:59 AM
Duration
42.0 ms
Status
201
Response Size
357 Bytes
Error
No

Performance Breakdown

Database
25.9% (2 queries)
View Rendering
52.8%
Application Logic
21.3%
Other Operations
0.0%
Total Operations
7
Slowest Operation
42.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 49.2ms 98.5ms 147.7ms 197.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 title = ?, content = ?, updated_at = ? WHERE id = ? 29 ms 69.1%
layouts/application 31 ms 73.8%
home#api_simple 42 ms 100.0%
posts/show 10 ms 23.8%
users/index 38 ms 90.5%
SELECT * FROM comments WHERE post_id = ? ORDER BY created_at DESC LIMIT ? 22 ms 52.4%
users/index 25 ms 59.5%