This is an example on how to run stress-ng
in our tool and see how the CPU behaves.
This example stresses one core for 5 seconds.
Run docker compose build
to build the containers and use them for testing or
instrumented by the Green Metrics Tool runner.
Run docker compose run stress
to start and enter the container.
It will just end when you just do docker compose run
These badges show the energy cost for running this code on a single machine.