-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Context
PR #53 eliminated the ISLE skip block, so every function now gets full 12-pass optimization. This dramatically increased the work done per EMI stress test iteration.
Problem
test_emi_stress_10000_iterations in loom-testing/tests/stress_test.rs now takes ~8 minutes locally and even longer on CI (Windows, Code Coverage). Rust's test harness emits "has been running for over 60 seconds" warnings on both Code Coverage and Windows CI jobs.
The test still passes — it's just much slower because more functions are being optimized per iteration.
Options
- Reduce iterations (10000 → 2000) — still statistically meaningful, much faster
- Add
#[ignore]and run separately — keep the thorough test but don't gate CI on it - Make iteration count configurable via env var (e.g.,
EMI_STRESS_ITERATIONS) - Profile and optimize the hot path — the optimizer itself may have O(n²) behavior in some passes
Files
loom-testing/tests/stress_test.rs:226—test_emi_stress_10000_iterations
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels