mix ash_profiler (AshProfiler v0.1.0)

View Source

Profiles Ash Framework DSL compilation performance and identifies bottlenecks.

Usage

# Basic profiling
mix ash_profiler

# Generate HTML report
mix ash_profiler --output html --file report.html

# Profile specific domains
mix ash_profiler --domains MyApp.CoreDomain,MyApp.UserDomain

# Container mode analysis
mix ash_profiler --container-mode

Options

  • --output - Output format: console, json, html (default: console)
  • --file - Output file path
  • --domains - Comma-separated list of domains to analyze
  • --threshold - Complexity threshold for warnings (default: 100)
  • --container-mode - Enable container-specific analysis
  • --no-optimizations - Skip optimization suggestions

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(args)

Callback implementation for Mix.Task.run/1.