Table of Contents

BenchmarkDotNet v0.15.2

Highlights

  • The most significant update in this release is the enhanced accuracy of the memory diagnoser (#2562). This improvement resolves the issue of incorrectly reported memory allocations (#1542, #2582).
  • We have introduced a new feature that allows users to sort benchmark jobs in numerical order (#2768, #2770).
  • Benchmark validation has been improved (#2771).
  • An issue with non-persistent auto-generated JobId has been fixed (#2777).

Milestone details

In the v0.15.2 scope, 5 issues were resolved and 10 pull requests were merged. This release includes 15 commits by 3 contributors.

Resolved issues (5)

  • #1542 Unexpected allocations reported in CPU-bound code (assignee: @timcassell)
  • #1925 Flaky tests because of AssertAllocations with InProcessEmitToolchain on Windows (assignee: @timcassell)
  • #2582 IterationSetup allocates 400B (assignee: @timcassell)
  • #2768 [Feature Request] Add custom option to sort benchmark jobs by numeric orders (assignee: @filzrev)
  • #2779 AllocationQuantumIsNotAnIssueForNetCore21Plus tests randomly failed on macos (arm64)

Merged pull requests (10)

  • #2562 Improve memory diagnoser accuracy (by @timcassell)
  • #2766 chore: Fix benchmark TestAdapter related issues (by @filzrev)
  • #2769 chore: Suppress xunit non-serializable data warnings (by @filzrev)
  • #2770 feat: Add JobOrderPolicy option to sort jobs by numeric order (by @filzrev)
  • #2771 feat: Add validator for benchmarks that contains null runtime (by @filzrev)
  • #2772 chore: Add setting to skip test reports when run-tests workflow is cancelled (by @filzrev)
  • #2775 chore: Modify macos runner image for CI (by @filzrev)
  • #2777 fix: Issue that auto-generate JobId is changed between benchmark runs (by @filzrev)
  • #2780 chore: Skip null runtime validation for InProcessToolchain (by @filzrev)
  • #2782 chore: Add warmups steps for flaky tests (AllocationQuantumIsNotAnIssueForNetCore21Plus) (by @filzrev)

Commits (15)

Contributors (3)

Thank you very much!

Additional details

Date: June 16, 2025

Milestone: v0.15.2 (List of commits)

NuGet Packages: