A simple C++ program that calculates Pi to 8,765,4321 digits using the Leibniz formula. This test can be used for showcasing how to write a basic test profile.
To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark sample-program.
Use with caution this test profile is currently marked Experimental.
OpenBenchmarking.org metrics for this test profile configuration based on 706 public results since 26 October 2017 with the latest data as of 13 February 2025.
Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.
Based on OpenBenchmarking.org data, the selected test / test configuration (Sample Pi Program) has an average run-time of 2 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.
Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.5%.
This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.
1 System - 10 Benchmark Results |
Intel Core i7-7700 - Dell 0NW6H5 - 64GB Ubuntu 20.04.4 LTS - 6.12.11-200.fc41.x86_64 - overlayfs |
1 System - 46 Benchmark Results |
AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P WIFI - AMD Device 14d8 Ubuntu 24.04 - 6.8.0-52-lowlatency - KDE Plasma 5.27.11 |
33 Systems - 30 Benchmark Results |
ARMv8 Cortex-A73 - HiKey970 - 6GB Ubuntu 16.04 - 4.9.78-147538-g244928755bbe - X Server 1.18.4 |
32 Systems - 30 Benchmark Results |
Rockchip ARMv8 Cortex-A55 - Rockchip RK3566 OPi 3B - 4096MB Ubuntu 22.04 - 5.10.160-rockchip-rk356x - Xfce 4.16 |
31 Systems - 30 Benchmark Results |
ARMv8 Cortex-A78E - EDK II 3.1-32827747 - 8GB Ubuntu 20.04 - 5.10.104-tegra - GNOME Shell 3.36.9 |
30 Systems - 30 Benchmark Results |
Rockchip ARMv8 Cortex-A72 - ROCK PI 4B - 4096MB Ubuntu 20.04 - 4.4.154-116-rockchip-g86a614bc15b3 - GCC 9.4.0 |
29 Systems - 30 Benchmark Results |
ARMv8 Cortex-A73 - Khadas VIM3 - 2048MB Ubuntu 20.04 - 4.9.241 - X Server 1.20.13 |
28 Systems - 30 Benchmark Results |
ARMv8 Cortex-A53 - OrangePi Zero2 - 1024MB Ubuntu 22.04 - 5.16.17-sun50iw9 - GCC 11.4.0 |
1 System - 2 Benchmark Results |
Intel Xeon E5-2680 v4 - INTEL X99-D4 - Intel Xeon E7 v4 Linuxmint 22 - 6.8.0-49-generic - Cinnamon 6.2.9 |
1 System - 10 Benchmark Results |
Intel Core i7-4790 - 8GB - 50GB Debian 12 - 6.6.54-1.qubes.fc37.x86_64 - Xfce 4.18 |
27 Systems - 30 Benchmark Results |
ARMv8 Cortex-A78 - U-Boot 2022.10 - 4096MB Ubuntu 22.04 - 5.15.0-1029-mtk - X Server 1.21.1.4 |
26 Systems - 30 Benchmark Results |
Rockchip ARMv8 Cortex-A76 - Orange Pi 5 - 8GB Debian 11 - 5.10.110-rockchip-rk3588 - Xfce 4.16 |