energy-bench 0.1.32

Methods for benchmarking the energy consumption of programs.
docs.rs failed to build energy-bench-0.1.32
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: energy-bench-0.1.12

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.