mix raxol.memory (Raxol v2.6.0)

View Source

Unified memory analysis and profiling tools.

Consolidates all memory-related functionality into a single comprehensive task.

Commands

mix raxol.memory debug               # Debug memory issues and leaks
mix raxol.memory profile             # Interactive memory profiling
mix raxol.memory gates               # CI/CD performance gates
mix raxol.memory stability           # Long-running stability tests

Common Options

  • --format - Output format: text, json, dashboard (default: text)
  • --output - Output file or directory
  • --duration - Duration in seconds for profiling
  • --mode - Profiling mode: snapshot, live, comparative
  • --scenario - Specific test scenario to run
  • --target - Target module or component to analyze
  • --interval - Sampling interval in milliseconds
  • --threshold - Memory threshold in MB for alerts
  • --strict - Enable strict mode (fail on warnings)
  • --baseline - Path to baseline file for comparison
  • --with-profiling - Include detailed profiling data
  • --help - Show help for specific commands

Examples

# Quick memory analysis
mix raxol.memory debug

# Live profiling with dashboard
mix raxol.memory profile --mode live --format dashboard

# Run CI gates for specific scenario
mix raxol.memory gates --scenario terminal_operations

# Extended stability testing
mix raxol.memory stability --duration 3600

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(args)

Callback implementation for Mix.Task.run/1.