Commit c2fb987
Gate runtime-async behind 'runtimeasync' experiment
PR #5195 enabled the runtime-async language feature unconditionally for
net11.0+ via `<Features>`. To avoid affecting baseline measurement runs,
gate it behind the existing experiment infrastructure so it only takes
effect in the dedicated experiment lane.
- src/Directory.Build.targets: only set `runtime-async=on` when the
`EnableRuntimeAsync` MSBuild property is `true` (in addition to the
existing TFM check).
- scripts/ci_setup.py: when `--experiment-name=runtimeasync` is passed,
emit `EnableRuntimeAsync=true` as an env var so MSBuild picks it up
as a property (matches the pattern used by the `jitoptrepeat` experiment).
Verified locally: BDN dry runs against the BinaryDataPayload tests
succeed both with and without the env var (18/18 benchmarks each).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a793b81 commit c2fb987
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
427 | 432 | | |
428 | 433 | | |
429 | 434 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
0 commit comments