CI Integration for FastCloner Benchmarks
nextThe benchmark suite is integrated into GitHub Actions via .github/workflows/benchmark.yml.
Workflow Behavior
- Push/PR to
nextbranch: Runs automatically onubuntu-latest. - Manual Trigger: Uses
workflow_dispatch, allowing users to select the target OS (Windows, Ubuntu, or macOS) via checkboxes. - PR Comments: Automatically posts a comment containing:
- A comparison table of
FastClonervsDeepCloner. - A diff showing regressions or improvements against the latest successful baseline from
master.
- A comparison table of
Baseline Resolution Logic
When running in a PR, the system resolves the baseline in this order:
- Uses the latest successful uploaded baseline artifact for the target OS from the
masterbranch. - If no artifact is available, it performs a "slow path": clones
master, runs the full benchmark suite, and generates a fresh normalized baseline before performing the comparison.