Skip to content

Update BenchmarkDotNet to 0.16.0-nightly.20260703.576#5258

Open
LoopedBard3 wants to merge 3 commits into
dotnet:mainfrom
LoopedBard3:update-bdn-0.16.0-nightly.20260703.576
Open

Update BenchmarkDotNet to 0.16.0-nightly.20260703.576#5258
LoopedBard3 wants to merge 3 commits into
dotnet:mainfrom
LoopedBard3:update-bdn-0.16.0-nightly.20260703.576

Conversation

@LoopedBard3

Copy link
Copy Markdown
Member

Updates BenchmarkDotNet from 0.16.0-nightly.20260518.1249 to 0.16.0-nightly.20260703.576 (BDN main HEAD, commit 40736e96f0c528a4f90423e925d63fd7dd3f1bad).

Changes

  • eng/Versions.propsBenchmarkDotNetVersion0.16.0-nightly.20260703.576.
  • src/benchmarks/micro/MicroBenchmarks.csproj — bump the net10.0 ExtensionsVersion 10.0.010.0.3. BDN .576 upgrades Microsoft.Diagnostics.Runtime to 4.0.726401, which transitively requires Microsoft.Extensions.* >= 10.0.3 via Azure.Core 1.53.0; the 10.0.0 pin caused an NU1605 downgrade error during restore.

Verification

Ran both perf pipelines (702 fast, 1012 slow) pinning the runtime to a fixed baseline commit so BDN is the only variable, then compared against baseline via Kusto. No systematic measurement regression on any configuration:

Area Result
coreclr x64 (Viper Ubuntu/Windows) median ~0.00%, balanced ±3%
coreclr Arm64 (Cobalt) median -0.07%, within hardware noise floor
mono JIT / Interpreter median ~0.00-0.04%, balanced ±3%
wasm interpreter v8 median -0.05% (n=5683), balanced
wasm coreclr v8 median -0.01% (n=5644), balanced
wasm aot v8 median -0.08% (n=5290), balanced

WASM queues were validated separately against a runtime commit with a known-good WASM setup. All three WASM variants (interpreter/coreclr/AOT) are clean noise. Regression rates for the non-WASM configs sit at or below the main-to-main noise floor.

Verdict: no measurement impact — safe to merge.

Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com

LoopedBard3 and others added 2 commits July 9, 2026 21:56
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
BenchmarkDotNet 0.16.0-nightly.20260703.576 upgrades Microsoft.Diagnostics.Runtime to 4.0.726401, which transitively requires Microsoft.Extensions.* >= 10.0.3 via Azure.Core 1.53.0. The net10.0 pin at 10.0.0 caused an NU1605 downgrade error during restore.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 10, 2026 04:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the repo’s BenchmarkDotNet dependency to a newer nightly build and adjusts the microbenchmark project’s Microsoft.Extensions.* package pin for net10.0 to avoid restore downgrade errors introduced by updated transitive dependencies.

Changes:

  • Bump BenchmarkDotNetVersion to 0.16.0-nightly.20260703.576.
  • Update MicroBenchmarks.csproj net10.0 ExtensionsVersion from 10.0.0 to 10.0.3 to resolve restore downgrade issues.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
eng/Versions.props Updates the centrally-defined BenchmarkDotNet version used across the repo.
src/benchmarks/micro/MicroBenchmarks.csproj Adjusts net10.0 Microsoft.Extensions.* package version pin to keep restore consistent with updated BDN transitive requirements.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…0.0.3

BenchmarkDotNet's transitive Microsoft.Diagnostics.Runtime -> Azure.Identity
-> Azure.Core 1.53.0 requires Microsoft.Extensions.Primitives >= 10.0.3. Since
Primitives is a direct PackageReference, NuGet flagged the net8.0/net9.0 pins
(8.0.0/9.0.0) as a downgrade (NU1605). Float only Primitives to the transitive
floor on those TFMs; implementation packages stay on their native versions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 10, 2026 17:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@LoopedBard3 LoopedBard3 self-assigned this Jul 10, 2026
@LoopedBard3 LoopedBard3 marked this pull request as ready for review July 10, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants