stress-cpu

Crates.iostress-cpu
lib.rsstress-cpu
version0.5.0
sourcesrc
created_at2024-12-02 02:14:16.066002
updated_at2024-12-02 03:59:17.17242
descriptionUtility that simulates a high cpu load.
homepage
repositoryhttps://github.com/fade2black/stress-cpu
max_upload_size
id1468122
size14,341
Bayram K (fade2black)

documentation

README

A simple Rust library for simulating a high cpu load. You can stress your CPU by specifying the number of workers and timeout in seconds. Each worker corresponds a native OS thread. For example,

fn main() {
    stress_cpu::stress(4, 30);
}
Commit count: 9

cargo fmt