Skip to content

fix: Issue that auto-generate JobId is changed between benchmark runs #2777

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 15, 2025

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.

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