-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
34 lines (26 loc) · 734 Bytes
/
justfile
File metadata and controls
34 lines (26 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
alias r := run
alias rr := run-release
run:
cargo run
run-release:
cargo run --release
# Run all tests
test:
cargo test
# Run tests in release mode (faster for computationally heavy tests)
test-release:
cargo test --release
# Run benchmarks
bench:
cargo bench --bench sim_perf
# Save a baseline for comparison
# Usage: just bench-baseline before
bench-baseline name:
cargo bench --bench sim_perf -- --save-baseline {{name}}
# Compare against a saved baseline
# Usage: just bench-compare before
bench-compare name:
cargo bench --bench sim_perf -- --baseline {{name}}
# Run benchmarks and generate HTML report
bench-report:
cargo bench --bench sim_perf && open target/criterion/report/index.html