inire/docs/benchmark-results.md
Jan Petykiewicz eac083a37d Refine routing geometry checks and streamline documentation
Report coincident terminals and unusable seeds per net, update custom bend handling and verification, and cover the revised behavior with regression tests.

Shorten the user and developer guides around reader tasks and keep the illustrated routing walkthrough and reference links easy to find.
2026-11-29 23:12:28 -08:00

34 lines
2.2 KiB
Markdown

# Benchmark results
Use these comparisons to choose a probe budget or retry order.
- [Benchmark commands and profiles](benchmarks.md)
## Near-port probe and retry experiments
On November 26, 2026, a two-iteration cap cut public-default corpus expansions by 23% against the full probe budget. Verified paths and costs matched on the corpus and holdouts under both tested profiles (`public-defaults` and `corpus-regression`).
- The splitter tree still verified all six nets and used fewer expansions after shortening the probe.
- The mixed port bank used more expansions because the last net moved from the short probe to the larger retry.
- A one-iteration cap increased the cost of a crossing approach. The clipped-proxy case needed the full probe to find its cheaper route. The two-iteration cap applies to the arc proxy in 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
- [Archived expansion counts, revisions, and commands](../archive/routing/README.md#reproduce-probe-and-retry-experiments)