Cryptographically verifiable, distributed dependency reviews
Add the last reviewed version to Cargo.toml / [dependencies]:
num_cpus = "1.13.0"
Please, use mobile in landscape.
Filter reviews clicking on the numbers in the summary.
Full column names in tooltip hints: rating Negative, rating Neutral, rating Positive, rating Strong, thoroughness, understanding, reviews count.
Queries the OS for the number of CPU cores you have.
Pros:
Cons:
unsafe
Alternatives:
Queries the OS for the number of CPU cores you have.
Pros:
Cons:
unsafe
Alternatives:
© bestia.dev 2023, MIT License, Version: 2023.608.1636
Open source repository for this web app: https://github.com/bestia-dev/cargo_crev_web/
Queries the OS for the number of CPU cores you have.
Pros:
Cons:
unsafe
lies and
lies and
lies.
Not exactly this crate's fault - the system APIs are brittle and full of edge cases.
Multi-processor architectures are full of edge cases.
Alternatives:
Spinning up threads for 64 CPU cores to all false-share a single cacheline
because that's how many logical cores were detected isn't the right choice!
And all your threads are probably blocked on I/O anyways!
Full Audit