Git Product home page Git Product logo

rethebes's Introduction

rethebes

Repeatable thermal benchmarks. rethebes is a command-line utility that runs a repeatable benchmark of the CPU temperature under user-configurable load conditions.

Requirements and installation

rethebes has only been tested on Windows 10 and python 3.8. It should also be compatible with more recent Windows and python versions.

Internally, rethebes uses LibreHardwareMonitorLib, which is not distributed with rethebes and must be installed separately. To do so, you must:

  1. Download it from the Releases page on github.
  2. Add the directory where you have extracted LibreHardwareMonitorLib.dll to your PYTHONPATH environment variable in Windows.

Note that you also need some version of the .NET runtime, but that is commonly installed in Windows.

Then, you can install rethebes from github via pip or (recommended) pipx:

pipx install git+https://github.com/giuliofoletto/rethebes

Usage

In an elevated terminal (required to access temperature sensors), run:

rethebes run <config-file>

where <config-file> is the path of a configuration file. See examples/README.md for a guide about configuration files, and pre-made examples.

Note that unless you specify otherwise in the configuration file, running rethebes creates the folder ~/.rethebes, which is not deleted by pipx during if you uninstall rethebes.

Assuming your configuration file instructed rethebes to save the measurements results, you can visualize them with

rethebes analyze <output-file>

Tricks

For convenience, if you place your configuration file in the default folder (~/.rethebes/config/), you can invoke it via name only, without necessarily including the full path or the extension. For instance

rethebes run short

will work if file ~/.rethebes/config/short.json exists.

You can do the same for output files (in ~/.rethebes/output/):

rethebes analyze foobar

will work if file ~/.rethebes/output/foobar.csv exists.

Attribution

The package that loads the CPU uses code by Gaetano Carlucci and Giuseppe Cofano (MIT licensed). In addition to LibreHardwareMonitorLib (MPL licensed), the code depends on other open source python packages that are downloaded automatically during installation. See setup.py for the list.

rethebes's People

Contributors

giuliofoletto avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.