efficiency-benchmark

Crates.ioefficiency-benchmark
lib.rsefficiency-benchmark
version0.2.5
sourcesrc
created_at2024-03-30 10:43:44.371746
updated_at2024-04-03 11:39:36.480339
descriptionA simple benchmarking tool for measuring the efficiency of your laptop.
homepage
repositoryhttps://github.com/LOSEARDES77/efficiency-benchmark.git
max_upload_size
id1191002
size32,165
LOSEARDES77 (LOSEARDES77)

documentation

README

Efficiency Benchmark

Description

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

Installation

cargo install efficiency-benchmark

Usage

To run it with default options just run

efficiency-benchmark 

Help command


$ 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

Commit count: 21

cargo fmt