phx:perf

Analyzes Elixir/Phoenix code for performance regressions across Ecto, LiveView, and OTP layers.

517|35|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/oliver-kriska/claude-elixir-phoenix --skill phx-perf
Or copy as Structured Prompt for Agentā–¼
Please help me install this Agent Skill.
Skill: phx:perf
Source: https://github.com/oliver-kriska/claude-elixir-phoenix/tree/main/plugins/elixir-phoenix/skills/perf
Command: npx skills add https://github.com/oliver-kriska/claude-elixir-phoenix --skill phx-perf

SYSTEM DOCUMENTATION & REQUIREMENTS

šŸ’” This Skill includes references (resource) components.

What problem does it solve?

This Skill identifies and helps resolve performance bottlenecks within Elixir and Phoenix applications, focusing on common issues like N+1 queries, LiveView memory leaks, and OTP inefficiencies.

Core Features & Use Cases

  • Performance Auditing: Analyzes code across Ecto, LiveView, and OTP layers to pinpoint performance drains.
  • Prioritization: Ranks identified issues based on impact and effort, guiding optimization efforts.
  • Use Case: You suspect your application is slow under load. Run /phx:perf to get a prioritized list of the top 5 performance issues, such as inefficient Ecto queries or LiveView memory bloat, with clear recommendations for fixes.

Quick Start

Analyze the entire project for performance issues.

Frequently Asked Questions about phx:perf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find N+1 queries and performance bottlenecks in my Phoenix application?ā–¼

To optimize Phoenix performance, you analyze code across Ecto, LiveView, and OTP layers to pinpoint N+1 queries and memory bloat. The tool ranks these bottlenecks by impact and effort, providing clear, actionable recommendations for fixes.

What causes LiveView memory bloat and how can I profile it?ā–¼

LiveView memory bloat typically stems from inefficient state management or excessive data retention in your Phoenix application. You can profile and identify these specific memory consumption issues alongside OTP inefficiencies through a targeted performance analysis of your codebase.

How do I audit Elixir OTP bottlenecks and Ecto query inefficiencies?ā–¼

You can audit Elixir OTP bottlenecks and Ecto query inefficiencies by running a comprehensive performance analysis across your application layers. This process identifies specific performance drains and integrates with Tidewave MCP for deeper analysis and SQL query profiling.

Can I profile SQL queries and analyze Ecto performance with Tidewave MCP?ā–¼

Yes, you can profile SQL queries and analyze Ecto performance by integrating with Tidewave MCP. This integration enables deeper analysis of inefficient query patterns, helping you identify and resolve data-layer performance regressions within your Elixir application.

What is the best way to prioritize Elixir performance optimization efforts?ā–¼

The best way to prioritize Elixir performance optimization is to analyze your codebase for regressions and rank them by impact and effort. This approach yields a prioritized list of top performance issues, guiding your optimization efforts towards the most critical bottlenecks.