inire/docs/benchmark-results.md

32 lines
2.5 KiB
Markdown

# Benchmark results
Use these measurements when changing the automatic probe budget or retry order. The [benchmark guide](benchmarks.md) explains how to select workloads and compare your results.
## Near-port probe and retry experiments
The November 26, 2026 comparison used the regression corpus and retry holdouts under the `public-defaults` and `corpus-regression` profiles. Against the full configured probe budget, a two-iteration cap reduced public-default corpus expansions by 23%. Verified paths and costs matched on both board sets. Check these individual cases before changing the cap again.
- The splitter tree benefited from fewer repeated shallow searches.
- The mixed port bank did more work because the shorter probe passed its last net to the wider retry.
- A one-iteration cap increased the cost of a crossing approach. The clipped-proxy case needed the original probe budget to find its cheaper route, so the current cap applies to the arc proxy. See the [automatic stage sequence](architecture.md#automatic-routing).
```sh
python -m scripts.benchmark_retry_order --case corpus --case retry-holdout \
--policy baseline --policy probe-full-budget --jobs 6 --json /tmp/inire-probe.json
```
### Early and late retries
The November 26, 2026 retry experiments used the pre-cap baseline. Failed early retries added work before the ordinary fallback. In one holdout, early incumbent recovery selected a higher-cost path at the same coverage. When comparing a change to retry order, measure the cost of failed attempts as well as the successful recoveries. For the trigger conditions and older driver, see the [archived retry measurements](../archive/routing/README.md#reproduce-probe-and-retry-experiments).
In the `public-defaults` holdout sweep, `late-residual-3000` recovered the last net on two crossing boards and a return shelf while preserving the previously verified paths. It requires room in the caller's budget and connected ports with the incumbents locked. Use the current comparison below to measure the cost of that extra attempt.
```sh
python -m scripts.benchmark_retry_order --case retry-holdout --profile public-defaults \
--policy baseline --policy late-residual-3000 --repeat 3 --jobs 6 \
--json /tmp/inire-residual.json
```
## Experiment archive
To recover the recorded expansion counts or rerun an earlier driver, follow the revision and command listed with the [archived probe and retry experiments](../archive/routing/README.md#reproduce-probe-and-retry-experiments).