feat: added phoronix benchmarking

This commit is contained in:
Simon Cornet 2025-11-13 21:23:21 +01:00
commit c4edb30748

View file

@ -0,0 +1,44 @@
# Benchmarking using the Phoronix Test Suite
The Phoronix benchmark suite does not require an introduction. More information here:
<https://www.phoronix-test-suite.com/>
## Install on Linux
```shell
wget -O- https://phoronix-test-suite.com/releases/phoronix-test-suite-10.8.4.tar.gz | tar xz
cd phoronix-test-suite && sudo ./install-sh
```
Install dependancies:
```shell
sudo apt install -y php-cli php-xml pkg-config
```
## Basic benchmark
For some quick basic system benchark you can use the following.
Check the docs for more information: <https://github.com/phoronix-test-suite/phoronix-test-suite/blob/master/documentation/phoronix-test-suite.md>
```shell
phoronix-test-suite install fio sysbench
```
Setup the batch.
```shell
phoronix-test-suite batch-setup
```
Run the benchmark.
```shell
phoronix-test-suite batch-benchmark fio sysbench
```
## Results
The results can be uploaded to the openbenchmark.org website for easy sharing.
Example: <https://openbenchmarking.org/result/2511139-NE-2511132NE42>