Skip to content

Comments

Handle case of null BytesAllocatedPerOperation in the json#5074

Merged
DrewScoggins merged 1 commit intodotnet:mainfrom
BrzVlad:fix-results-comparer
Jan 6, 2026
Merged

Handle case of null BytesAllocatedPerOperation in the json#5074
DrewScoggins merged 1 commit intodotnet:mainfrom
BrzVlad:fix-results-comparer

Conversation

@BrzVlad
Copy link
Member

@BrzVlad BrzVlad commented Jan 6, 2026

This property is nullable on the BDN side: GetBytesAllocatedPerOperation -> https://github.com/dotnet/BenchmarkDotNet/blob/master/src/BenchmarkDotNet/Engines/GcStats.cs#L41. The ResultsComparer was crashing when trying to deserialize the json results.

This property is nullable on the BDN side: GetBytesAllocatedPerOperation -> https://github.com/dotnet/BenchmarkDotNet/blob/master/src/BenchmarkDotNet/Engines/GcStats.cs#L41. The ResultsComparer was crashing when trying to deserialize the json results.
Copy link
Member

@DrewScoggins DrewScoggins left a comment

Choose a reason for hiding this comment

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

LGTM

@DrewScoggins DrewScoggins merged commit 554ea3a into dotnet:main Jan 6, 2026
35 of 38 checks passed
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