Performance tools
Find N+1 queries, missing eager loading, and missing indexes — then explain them.
@elyracode/perf-tools scans your code and logs for the most common performance regressions in database‑backed applications.
Install
elyra install npm:@elyracode/perf-tools
Tools
| Tool | Description |
|---|---|
analyze_queries |
Scan logs and code for N+1 patterns, repeated queries, missing eager loading, missing indexes |
explain_query |
Run EXPLAIN on a SQL query to analyze the execution plan |
Commands
| Command | Description |
|---|---|
/perf |
Run full performance analysis |
Examples
> Analyze this project for N+1 queries
> Find models that need eager loading
> Explain this slow query: SELECT * FROM orders JOIN…
/perf