You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Workload runner can execute a stale Rust benchmark with a shared Cargo target #4894
Submitting this runner fix for the useful-improvements bounty track. Verified on main at 4a0110a.
The project’s tools/env.sh sets CARGO_TARGET_DIR to a shared directory. Cargo builds the Rust workload there, but benchmarks/workloads/run.sh then executes ./target/release/workloads under the crate. With a clean crate-local target the runner returned exit 127. With an old executable at that path, it ran the old executable and reported success. This can mix timings from different revisions in the same comparison.
The patch uses cargo run --release --quiet so Cargo launches the binary it just built. Both new regressions failed on the base commit. After the fix all 25 workload tests passed locally with python3 -m unittest discover -s tools -p 'test_workload*.py'. They exercise the actual shell runner with temporary toolchain substitutes. Shell syntax and git diff --check passed. The pinned compiler suite and hosted CI have not been run.
Activity