Part of the V&V coverage initiative.
Problem
spar's MILP / constraint solver is the slowest inner loop in the scheduling flow. Silent performance regressions here cascade into unusable schedule-analysis runtimes on real workloads. No criterion bench gate today.
Evidence under ISO 26262-6 Table 10 row 1e ("performance test", HR at ASIL D). Also strengthens the Lean → Rust refinement story: Lean proves scheduling theory holds, criterion proves it computes in realistic time.
Acceptance
Notes
- Solver may have non-monotonic cost curves on adversarial inputs — use
criterion::BenchmarkGroup::throughput appropriately
- Reuse fuzz corpus (separate issue) for realistic hard inputs
Part of the V&V coverage initiative.
Problem
spar's MILP / constraint solver is the slowest inner loop in the scheduling flow. Silent performance regressions here cascade into unusable schedule-analysis runtimes on real workloads. No criterion bench gate today.
Evidence under ISO 26262-6 Table 10 row 1e ("performance test", HR at ASIL D). Also strengthens the Lean → Rust refinement story: Lean proves scheduling theory holds, criterion proves it computes in realistic time.
Acceptance
spar-solver/benches/solver_benchmarks.rswith groups:spar-codegen/benches/codegen_benchmarks.rsfor schedule emissionrivet.yamlto the scheduling theorems and SLA budgetsNotes
criterion::BenchmarkGroup::throughputappropriately