mix pipeline.benchmark (PipelineEx v0.1.1)

View Source

Run performance benchmarks comparing sync vs async streaming.

Usage

mix pipeline.benchmark [options]

Options

  • --iterations - Number of iterations per test (default: 5)
  • --warmup - Number of warmup iterations (default: 2)
  • --sizes - Test sizes to run: small,medium,large (default: all)
  • --output - Output directory for reports (default: benchmarks)
  • --mode - Run only specific mode: sync, async, or both (default: both)

Examples

# Run full benchmark suite
mix pipeline.benchmark

# Quick benchmark with fewer iterations
mix pipeline.benchmark --iterations 3 --warmup 1

# Test only small and medium sizes
mix pipeline.benchmark --sizes small,medium

# Benchmark only async mode
mix pipeline.benchmark --mode async