PlummersSoftwareLLC / Primes

Prime Number Projects in C#/C++/Python
https://plummerssoftwarellc.github.io/PrimeView/
2.43k stars 575 forks source link

Rust: adjust number of threads #926

Closed mike-barber closed 1 year ago

mike-barber commented 1 year ago

Description

The number of physical cores is not reliably detected on many of the benchmark machines, and it's always a fun problem with containers and virtualization. This little PR makes some small adjustments to the runs to deal with this sensibly:

Contributing requirements

rbergen commented 1 year ago

@mike-barber Thank you for submitting this update!