Skip to content

Conversation

filzrev
Copy link
Contributor

@filzrev filzrev commented Jun 14, 2025

This PR fix issue that auto-generated JobId is changed every time when launching benchmark process.

Background
Currently object.GetHashCode() returns different value between runs on .NET Core.
It's not seems to be intended behaviors. because generated hash value is used for seed of Random.
And cause diffs when comparing benchmark logs.

This PR modify JobIdGenerator.cs to return same ID between processes.

@AndreyAkinshin AndreyAkinshin merged commit 5db7284 into dotnet:master Jun 15, 2025
9 checks passed
@AndreyAkinshin AndreyAkinshin added this to the v0.15.2 milestone Jun 15, 2025
This was referenced Jul 21, 2025
This was referenced Sep 22, 2025
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