Integrate Phoronix test suite
TechnologyClassroom opened this issue · 1 comments
Phoronix Test Suite
GitHub GPL-3.0-or-later (Tests are under a variety of licenses)
phoronix-test-suite
or pts
is a program that can download and run tests that stress a computer. Tests are scored and results can be used to compare different computers, processors, RAM, graphics cards, etc.
Temporary install
Install dependencies for Debian based systems.
sudo apt update
sudo apt install -y php-cli php-xml php-gd php-bz2 php-sqlite3 php-curl curl wget
Download the latest version into a temporary directory.
cd $(mktemp -d) # Changes to a newly created temporary directory.
latestpts=$(curl -s https://github.com/phoronix-test-suite/phoronix-test-suite/releases/latest | sed 's/^.*https/https/' | sed 's/">redirected.*$//') # Finds the latest release.
wget $(curl -s $latestpts | grep -E 'href.*tar.gz' | head -n 1 | sed 's|^.*href="|https://github.com/|' | sed 's/" rel=.*$//') # Downloads the archive of the latest release.
tar xf ./*tar.gz # Extracts archive.
cd phoronix-test-suite # Changes to new directory.
Run tests
List all tests.
./phoronix-test-suite list-all-tests
Run a test with interactive questions. Replace pts/stress-ng
with the test you want to run.
./phoronix-test-suite benchmark pts/stress-ng # Run test with questions.
If you uploaded your tests, others can compare their systems.
Run a test without questions. Replace pts/stress-ng
with the test you want to run. It is unclear from the documentation which answers PTS_SILENT_MODE=1
command gives. You need to configure user-config.xml
if you want to manually configure automation with custom answers. Default user-config.xml
PTS_SILENT_MODE=1 ./phoronix-test-suite benchmark pts/stress-ng # Run test without questions.
Comparing two OpenBenchmark.org results
After you know of two tests, you can compare them by separating their unique code in the URL with a comma like this result:
Tests and Suites
OpenBenchmarking.org Tests OpenBenchmarking.org Suites
While phoronix-test-suite (pts) seems to be entirely free software, pts acts as a benchmark package manager and can pull additional software depending on the test specified. I did not look into all of the tests, but you can safely assume some of them are nonfree as they include loading proprietary video game engines. Some of the tests would appear to be free such as blender, openssl, vosk, etc.
Tests are mirrored from OpenBenchmark on GitHub and state UNLESS NOTED OTHERWISE INSIDE INDIVIDUAL TEST PROFILE DIRECTORIES, TEST PROFILES ARE MADE PUBLIC UNDER THE MIT LICENSE.
here.