chore: configure criterion benchmarking for hcie-engine-api and update benchmark dependency handling
mandatory-regression-gate / deterministic-tests (push) Has been cancelled
mandatory-regression-gate / protected-performance-path (push) Has been cancelled

This commit is contained in:
Your Name
2026-07-24 18:42:53 +03:00
parent 6b02f19624
commit ee6ad2dc20
4 changed files with 57 additions and 1 deletions
+14
View File
@@ -4,6 +4,19 @@ cargo run --example gui
cargo run -p hcie-iced-gui
cargo build -p hcie-iced-gui --bin hcie-iced
scripts/cargo-with-build-id.sh run -p hcie-iced-gui
#######
criterion Benchmark
cargo bench -p hcie-engine-api
# Mevcut mükemmel performansı kalıcı bir baseline (referans) olarak kaydetmek için:
# (Not: Hata almamak için hcie-engine-api/Cargo.toml'da [lib] altına bench = false eklendi)
cargo bench -p hcie-engine-api -- --save-baseline gold_standard
# Kaydedilen 'gold_standard' baseline'ı ile karşılaştırma (regresyon testi) yapmak için:
cargo bench -p hcie-engine-api -- --baseline gold_standard
criterion.md
##test
Running the Tests Automatically
@@ -13,6 +26,7 @@ cargo test -p hcie-iced-gui -- proximate
To run all cycle_one_ux_tests (including the new ones):
cargo test -p hcie-iced-gui -- cycle_one_ux_tests
###########
To run the FULL test suite for the iced GUI crate:
cargo test -p hcie-iced-gui