Request Details

Route
/api_simple GET
Timestamp
Nov 10, 2026 10:26 PM
Duration
18.23 ms
Status
200
Response Size
576 Bytes
Error
No

Performance Breakdown

Database
11.0% (2 queries)
View Rendering
22.0%
Application Logic
66.9%
Other Operations
0.0%
Total Operations
6
Slowest Operation
18.23 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 20.4ms 40.8ms 61.3ms 81.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
home#api_simple 18 ms 100.0%
home/index 18 ms 98.7%
home#api_simple 18 ms 100.0%
home#api_simple 18 ms 100.0%
SELECT posts.title, posts.content, users.name FROM posts JOIN users ON posts.user_id = users.id WHERE posts.published = ? 3 ms 16.5%
SELECT * FROM posts WHERE user_id = ? ORDER BY created_at DESC LIMIT ? 6 ms 32.9%