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

Ignore actual processor speed when comparing machine_info #255

Open
jontwo opened this issue Feb 6, 2024 · 0 comments
Open

Ignore actual processor speed when comparing machine_info #255

jontwo opened this issue Feb 6, 2024 · 0 comments

Comments

@jontwo
Copy link

jontwo commented Feb 6, 2024

I've just added pytest-benchmark to our CI, following the GDAL approach where we install an old version, run benchmarks, then install latest version, run benchmarks again and compare. I'm getting the following warning because the hz_actual is slightly different between the two runs: "PytestBenchmarkWarning: Benchmark machine_info is different".

I'm running the two tests on exactly the same machine, one after the other, so I would not expect a warning that the machines are different! Is it possible to ignore the hz_actual and hz_actual_friendly fields when comparing cpu_info?

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

No branches or pull requests

1 participant