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.
33 Systems - 30 Benchmark Results |
rv64imafdch_zicntr_zicsr_zifencei_zihpm_zba_zbb_sscofpmf - Milk-V Megrez - 10GB Debian GNU - 6.6.66-win2030 - X Server 1.21.1.13 |
32 Systems - 30 Benchmark Results |
ARMv8 Cortex-A53 - OrangePi 3 LTS - 2048MB Ubuntu 20.04 - 5.10.75-sun50iw6 - GCC 9.4.0 |
31 Systems - 30 Benchmark Results |
ARMv8 Cortex-A53 - OrangePi Zero2 - 1024MB Ubuntu 22.04 - 5.16.17-sun50iw9 - GCC 11.4.0 |
30 Systems - 30 Benchmark Results |
Unknown - Orange Pi Ai Pro 20T - 24GB Ubuntu 22.04 - 5.10.0+ - Xfce |
29 Systems - 30 Benchmark Results |
Rockchip ARMv8 Cortex-A55 - Rockchip RK3566 OPi 3B - 4096MB Ubuntu 22.04 - 5.10.160-rockchip-rk356x - Xfce 4.16 |
28 Systems - 30 Benchmark Results |
CIX P1 CD8180 - Radxa - 16GB Debian 12 - 6.1.44-cix-build-generic - GNOME Shell 43.9 |
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 |
Spacemit X60 - spacemit k1-x deb1 board - 4096MB Bianbu 1.0rc1 - 6.1.15 - GNOME Shell 45.0 |
26 Systems - 30 Benchmark Results |
Rockchip ARMv8 Cortex-A76 - Radxa ROCK 5B - 16GB Ubuntu 20.04 - 5.10.66-27-rockchip-gea60d388902d - GCC 9.4.0 |