Skip to main content

Performance CLI

Commands for measuring and verifying performance of PraisonAI Agents.

Commands

Full Benchmark

Run a complete performance benchmark:
Output:

Import Time Only

Measure just the import time:
Output:

Memory Usage Only

Measure just the memory usage:
Output:

Lazy Import Check

Verify lazy imports are working:
Output:

Regression Check

Run a pass/fail check for CI/CD:
Returns exit code 0 on pass, 1 on fail.

Performance Targets

CI/CD Integration

Use in GitHub Actions:
Use in shell scripts:

Subcommands Reference