chore: configure criterion benchmarking for hcie-engine-api and update benchmark dependency handling
This commit is contained in:
+14
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user