Simplify routing verification and isolate benchmark policies
This commit is contained in:
parent
2c260e5e95
commit
ec2768853e
1 changed files with 1874 additions and 1164 deletions
|
|
@ -42,7 +42,7 @@ Capture the no-warm-start fan-out scenario from the repository root.
|
|||
|
||||
```sh
|
||||
python -m scripts.record_iteration_trace --scenario example_07_large_scale_routing_no_warm_start \
|
||||
--include-performance-only --output-dir /tmp/inire-trace
|
||||
--output-dir /tmp/inire-trace
|
||||
```
|
||||
|
||||
1. Open the generated `iteration_trace.md`. Compare the last iteration's completed count and conflict edges with the final result summary. In the recorded example, the last iteration had six completed nets and two conflict edges.
|
||||
|
|
@ -64,6 +64,6 @@ python -m scripts.routing_benchmark_parity capture /tmp/routing-after.json --cas
|
|||
python -m scripts.routing_benchmark_parity compare /tmp/routing-before.json /tmp/routing-after.json
|
||||
```
|
||||
|
||||
Use `scripts.record_iteration_trace` and `scripts.record_pre_pair_frontier_trace` to inspect a late conflict. Use `scripts.record_conflict_trace` and `scripts.record_frontier_trace` to locate an overlap and inspect rejected moves near it. Pass `--output-dir /tmp/inire-trace` for a scratch capture. The trace writers support `--scenario` for an individual built-in case and `--include-performance-only` for the heavier cases.
|
||||
Use `scripts.record_iteration_trace` and `scripts.record_pre_pair_frontier_trace` to inspect a late conflict. Use `scripts.record_conflict_trace` and `scripts.record_frontier_trace` to locate an overlap and inspect rejected moves near it. Pass `--output-dir /tmp/inire-trace` for a scratch capture. Select any built-in trace case by name with `--scenario`.
|
||||
|
||||
For isolated timing gates, run `INIRE_RUN_PERFORMANCE=1 python -m pytest -q inire/tests/test_example_performance.py`. Use `scripts.record_performance_baseline` with `--output-dir` to record a snapshot. Use `scripts.diff_performance_baseline` to compare a fresh run with the archived baseline, or pass `--baseline` to select a different snapshot. Use `--metric` to select counters. [Routing development archive](../archive/routing/README.md)
|
||||
|
|
|
|||
Loading…
Reference in a new issue