Commit c4edb307 authored by Simon Cornet's avatar Simon Cornet
Browse files

feat: added phoronix benchmarking

parent 23f0d05c
Loading
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
# 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>