Performance CLI
Commands for measuring and verifying performance of PraisonAI Agents.Commands
Full Benchmark
Run a complete performance benchmark:Import Time Only
Measure just the import time:Memory Usage Only
Measure just the memory usage:Lazy Import Check
Verify lazy imports are working:Regression Check
Run a pass/fail check for CI/CD:Performance Targets
| Metric | Target | Hard Fail |
|---|---|---|
| Import Time | less than 200ms | greater than 300ms |
| Memory Usage | less than 30MB | greater than 45MB |
| Lazy Imports | All lazy | Any eager |
CI/CD Integration
Use in GitHub Actions:Subcommands Reference
| Command | Description |
|---|---|
praisonai perf benchmark | Run full benchmark suite |
praisonai perf import-time | Measure import time only |
praisonai perf memory | Measure memory usage only |
praisonai perf lazy-check | Verify lazy imports |
praisonai perf check | CI/CD regression check |

