runBenchmarkComparisonAgent
Runs a benchmark comparison agent to analyze security differences between code versions.Import
Function Signature
Parameters
BenchmarkComparisonAgentInput
required
Configuration for the benchmark comparison.
Return Value
BenchmarkComparison | null
Comparison results between branches.
string
Path to the results directory.
Example Usage
Basic Benchmark
Compare two branches:Multiple Branches
Compare across multiple versions:CI/CD Integration
Automated benchmark in CI:Use Cases
Release Validation
Verify security fixes reduce vulnerabilities
Code Review
Assess security impact of pull requests
Regression Testing
Ensure no security regressions
Trend Analysis
Track security posture over time
Related
Benchmark Command
CLI interface for benchmarking
Whitebox Testing
Source code analysis guide
CI/CD Integration
Automate benchmarks in pipelines
Findings
Understanding vulnerability findings

