Crates.io | efficiency-benchmark |
lib.rs | efficiency-benchmark |
version | 0.2.5 |
source | src |
created_at | 2024-03-30 10:43:44.371746 |
updated_at | 2024-04-03 11:39:36.480339 |
description | A simple benchmarking tool for measuring the efficiency of your laptop. |
homepage | |
repository | https://github.com/LOSEARDES77/efficiency-benchmark.git |
max_upload_size | |
id | 1191002 |
size | 32,165 |
This benchmark it meant to measure laptop cpu efficiency and poower consumption by contineuosly compiling something until it runs out of battery. The benchmark create a directory called "benchmark" where you runned the command and stores this in theree:
The repository
A copy of the repo to build
A file containing the score
cargo install efficiency-benchmark
To run it with default options just run
efficiency-benchmark
$ efficiency-benchmark --help
Usage: efficiency-benchmark [OPTIONS]
Options:
--help, -h Show this help message
--repo, -r Set the repository URL to clone
--build, -b Set the build command
If no args provided it will use by default:
repo-url -> https://github.com/rust-lang/rustlings.git
build-cmd -> cargo build
This benchmark is meant for laptops,
It will infinitely loop compiling something until it runs out of battery
That's how this benchmark works