Skip to content

About

This repository serves as a translation layer between phoronix benchmark definitions and the Open ForBC Benchmark toolset.

Resources

Stars

1 star

Watchers

2 watching

Forks

Repository files navigation

phoronix-benchs

This repository serves as a translation layer between phoronix benchmark definitions and the Open ForBC Benchmark toolset.

Working modes

This tool provides two working modes: list and install.

list working mode

The list working mode is aimed at providing a comprehensive way to traverse the huge set of tests provided by the Phoronix suite.

foo@bar:~$ ./phoro2o4bc list
Origin already set up.
ai-benchmark @ 1.0.1 [darwin]
appleseed @ 1.0.1 [darwin]
asmfish @ 1.1.0 [darwin]
[...]

By default the command lists the available benchmarks for the platform the command is running on (darwin, windows or linux[2]).

Benchmark-versions listing

Appending the name of a benchmark after a list command allows one to see merely the available versions of the specified piece of software:

foo@bar:~$ ./phoro2o4bc list astcenc
Origin already set up.
astcenc @ 1.0.0 [darwin]
astcenc @ 1.0.1 [darwin]
astcenc @ 1.0.2 [darwin]
astcenc @ 1.1.0 [darwin]
astcenc @ 1.2.0 [darwin]

Platform-specific listing

The -p or --platform flag can be used to specify another platform:

foo@bar:~$ ./phoro2o4bc list -p windows
Origin already set up.
aircrack-ng @ 1.1.1 [windows]
aircrack-ng @ 1.1.2 [windows]
aircrack-ng @ 1.2.0 [windows]
aircrack-ng @ 1.2.1 [windows]
aom-av1 @ 2.0.2 [windows]
aom-av1 @ 2.1.1 [windows]
[...]
foo@bar:~$ ./phoro2o4bc list --platform linux
Origin already set up.
ai-benchmark @ 1.0.0 [linux]
ai-benchmark @ 1.0.1 [linux]
aio-stress @ 1.1.1 [linux]
aio-stress @ 1.1.2 [linux]
aircrack-ng @ 1.1.1 [linux]
aircrack-ng @ 1.1.2 [linux]
[...]

:::success This option can be combined with the selection of a benchmark name in order to list the versions of a given benchmark which are available for a specific platform. :::

install working mode

This mode is capable of installing a Phoronix benchmark with ease, converting the upstream definition of the benchmark into an Open ForBC Benchmark -compatible one.

It requires a mandatory positional argument defining the benchmark name of the benchmark one wants to install.

foo@bar:~$ ./phoro2o4bc install astcenc
Origin already set up.
Benchmark version not specified, defaulting to latest (1.2.0)
[...]

Optionally, the second positional argument enables the cherry-picking of a specific version amongst those available.

foo@bar:~$ ./phoro2o4bc install astcenc 1.0.1
Origin already set up.
Selected benchmark version: 1.0.1
[...]

How to test a benchmark locally

Once the benchmark is installed it can be easily run using Open ForBC Benchmark, since the format is compliant with that package.

-- TO BE UPDATED --

About

This repository serves as a translation layer between phoronix benchmark definitions and the Open ForBC Benchmark toolset.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages