strain

Crates.iostrain
lib.rsstrain
version0.0.6
sourcesrc
created_at2024-05-06 22:46:30.707589
updated_at2024-05-12 23:57:36.46129
descriptionA CPU stressing utility written in Rust
homepage
repository
max_upload_size
id1231577
size59,893
Jaco Malan (JacoMalan1)

documentation

README

Strain

⚠️ Warning ⚠️

This project is currently in the ALPHA stage. There may be many bugs and it is not even guaranteed that it will compile/run at all. That said, please report any bugs by filing an issue on the GitHub page. Please label your issues with the relevant labels.

In addition to the project being in ALPHA, the nature of this program is to create very taxing workloads on a processor. Without proper cooling this could result in the processor reaching unsafe temperature. Please exercise caution and equip a CPU temperature reading program to make sure your CPU does not burn out.

A good CPU monitoring tool on GNU/Linux is lm_sensors.

Description

Strain is a lightweight CPU stress-testing utility written in Rust. The main purpose it serves is to determine CPU stability and thermal output under load.

Building

Prerequisites

Ensure that the Rust compiler, the C compiler (GCC), and Cargo are installed on your system.

Ensure that the following libraries are available on your system:

  • The GNU Multiple Precision library (gmp)
  • GMPFR (gmpfr)
  • MPC (libmpc)

Then, run the following command from the project root: cargo build --frozen --release. This will produce a binary in the target/release folder called strain.

If the binary is not there, it is likely you have the CARGO_TARGET_DIR environment variable set. In that case, the binary is located at $CARGO_TARGET_DIR/release/strain.

Commit count: 0

cargo fmt