Skip to content
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

Tests/Benchmarks: Add -seed flag to override time.Now().UnixNano() #21

Closed
fxamacker opened this issue Jul 5, 2021 · 0 comments · Fixed by #204
Closed

Tests/Benchmarks: Add -seed flag to override time.Now().UnixNano() #21

fxamacker opened this issue Jul 5, 2021 · 0 comments · Fixed by #204

Comments

@fxamacker
Copy link
Member

fxamacker commented Jul 5, 2021

Add -seed flag to override time.Now().UnixNano().

@fxamacker fxamacker changed the title Replace math/rand with golang.org/x/exp/rand and use same deterministic seed for benchstat comparisons Add -sameseed flag to use hardcoded seed to get deterministic results Jul 7, 2021
@fxamacker fxamacker changed the title Add -sameseed flag to use hardcoded seed to get deterministic results Benchmarks: Add -sameseed flag to use hardcoded seed to get deterministic results Jul 16, 2021
@fxamacker fxamacker changed the title Benchmarks: Add -sameseed flag to use hardcoded seed to get deterministic results Benchmarks: Add -seed flag to override time.Now().UnixNano() Nov 4, 2021
@fxamacker fxamacker changed the title Benchmarks: Add -seed flag to override time.Now().UnixNano() Tests/Benchmarks: Add -seed flag to override time.Now().UnixNano() Nov 4, 2021
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 a pull request may close this issue.

1 participant