energy-bench

Crates.ioenergy-bench
lib.rsenergy-bench
version0.1.32
created_at2024-05-06 08:38:28.868456+00
updated_at2025-09-03 13:32:25.650535+00
descriptionMethods for benchmarking the energy consumption of programs.
homepage
repositoryhttps://gitlab.com/software-energy-lab/energy-benchmarking
max_upload_size
id1230986
size114,590
Jordy Aaldering (JordyAaldering)

documentation

README

Energy Benchmarking Tool

Tool for benchmarking the energy consumption of programs. Idle energy consumption, as well as energy consumed by data generation and cleanup, are not subtracted from the results. A new benchmark builder is created with EnergyBenchBuilder::new().

Check out the energy-benchmarking-example project for a few examples.

Some programs are too short-running to provide accurate energy measurements. To avoid this, the benchmark can be repeated until a given amount of time has passed: set_min_measurement_duration. By default, benchmarks are run for at least 100ms.

Commit count: 330

cargo fmt