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 636 public results since 26 October 2017 with the latest data as of 22 September 2023.
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 - 1 Benchmark Result |
ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.5 - Broadcom BCM2711 Debian 11 - 6.1.21-v8+ - LXDE 0.10.1 |
1 System - 13 Benchmark Results |
2 x Intel Xeon Platinum 8480+ - XFUSION BC15MBSE - Intel Device 1bce Ubuntu 22.04 - 5.15.0-83-generic - GCC 11.4.0 + CUDA 12.2 |
1 System - 12 Benchmark Results |
2 x Intel Xeon Silver 4416+ - Dell PowerEdge R760 [0NH8MJ] - Intel Device 1bce Ubuntu 18.04 - 5.4.0-84-generic - GNOME Shell 3.28.4 |
3 Systems - 5 Benchmark Results |
Phytium FT2000A 4-Core - Phytium FT2004 - 2 x 16384 MB DDR4-3200MHz Kingston 6478545886 Kylin 4.0.2 - 4.4.131-20190920.kylin.desktop-generic - modesetting 1.18.3 |
1 System - 5 Benchmark Results |
Intel Xeon Platinum 8175M - Amazon EC2 m5.4xlarge - Intel 440FX 82441FX PMC Amazon Linux 2 - 5.10.186-179.751.amzn2.x86_64 - GCC 10.4.1 20221124 |
1 System - 1 Benchmark Result |
Intel Xeon Platinum 8175M - Amazon EC2 m5.4xlarge - Intel 440FX 82441FX PMC Amazon Linux 2 - 5.10.186-179.751.amzn2.x86_64 - GCC 10.4.1 20221124 |
1 System - 5 Benchmark Results |
Intel Xeon Platinum 8259CL - Amazon EC2 m5.4xlarge - Intel 440FX 82441FX PMC Amazon Linux 2 - 5.10.186-179.751.amzn2.x86_64 - GCC 10.4.1 20221124 |
1 System - 1 Benchmark Result |
Intel Xeon Platinum 8259CL - Amazon EC2 m5.4xlarge - Intel 440FX 82441FX PMC Amazon Linux 2 - 5.10.186-179.751.amzn2.x86_64 - GCC 10.4.1 20221124 |
1 System - 5 Benchmark Results |
Intel Xeon Platinum 8375C - Amazon EC2 c6i.xlarge - Intel 440FX 82441FX PMC Amazon Linux 2 - 5.10.186-179.751.amzn2.x86_64 - GCC 10.4.1 20221124 |
1 System - 1 Benchmark Result |
Intel Xeon Platinum 8375C - Amazon EC2 c6i.xlarge - Intel 440FX 82441FX PMC Amazon Linux 2 - 5.10.186-179.751.amzn2.x86_64 - GCC 10.4.1 20221124 |
2 Systems - 5 Benchmark Results |
ARMv7 Cortex-A7 - BCM2835 Raspberry Pi 2 Model B Rev 1.1 - 921MB Raspbian 11 - 6.1.21-v7+ - 3.1 Mesa 20.3.5 |
3 Systems - 5 Benchmark Results |
ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.1 - Broadcom BCM2711 Ubuntu 22.04 - 5.15.0-1034-raspi - X Server |
2 Systems - 5 Benchmark Results |
Phytium FT2000A 4-Core - Phytium FT2004 - 2 x 16384 MB DDR4-3200MHz Kingston 6478545886 Kylin 4.0.2 - 4.4.131-20190920.kylin.desktop-generic - modesetting 1.18.3 |
2 Systems - 5 Benchmark Results |
Intel Core i5-8259U - Intel NUC8BEB - Intel Cannon Point-LP Ubuntu 22.04 - 6.4.8-x64v3-xanmod1 - GNOME Shell 42.9 |
1 System - 6 Benchmark Results |
Intel Core i5-6600K - Gigabyte B250-HD3-CF - Intel Xeon E3-1200 v5 Gentoo 2.14 - 6.4.7-gentoo-dist-hardened - X Server + Wayland |
2 Systems - 601 Benchmark Results |
2 x Intel Xeon Gold 6140 - Intel S2600WFT - Intel Device 2020 Debian 9.4 - 4.9.0-6-amd64 - GCC 6.3.0 20170516 + Clang 3.8.1-24 |
2 Systems - 5 Benchmark Results |
2 x Intel Xeon Gold 6244 - H3C RS33M2C9S - Intel Sky Lake-E DMI3 Registers CentOS Linux 7 - 3.10.0-1160.11.1.el7.x86_64 - GNOME Shell 3.28.3 |
2 Systems - 12 Benchmark Results |
Intel Core i5-7200U - LENOVO 20HNCTO1WW - Intel Xeon E3-1200 v6 Debian testing - 4.13.0-1-amd64 - GNOME Shell 3.22.3 |
Featured Disk Comparison |
AMD Ryzen Threadripper 2950X 16-Core - ASUS PRIME X399-A - AMD Family 17h Debian testing - 4.18.0-3-amd64 - X Server 1.20.3 |
12 Systems - 123 Benchmark Results |
2 x Intel Xeon Gold 6138 - TYAN S7106 - Intel Sky Lake-E DMI3 Registers CentOS Linux 7 - 3.10.0-957.1.3.el7.x86_64 - GNOME Shell 3.28.3 |
4 Systems - 179 Benchmark Results |
AMD Ryzen 5 5600X 6-Core - ASRock X570 Taichi - AMD Starship Ubuntu 20.04 - 5.10.13-051013-lowlatency - GNOME Shell 3.36.4 |
2 Systems - 10 Benchmark Results |
Intel Core i5-7200U - LENOVO 20HNCTO1WW - Intel Xeon E3-1200 v6 Debian testing - 4.13.0-1-amd64 - GNOME Shell 3.22.3 |
2 Systems - 154 Benchmark Results |
AMD Ryzen 9 5900X 12-Core - Gigabyte B550I AORUS PRO AX - AMD Starship Ubuntu 20.04 - 5.4.0-53-generic - GNOME Shell 3.36.4 |
3 Systems - 54 Benchmark Results |
Apple M1 - Apple Mac mini - 8GB macOS 11.0.1 - 20.1.0 - OpenCL 1.2 |
8 Systems - 478 Benchmark Results |
Intel Core i9-7980XE - ASRock X299 Taichi XE - Intel Sky Lake-E DMI3 Registers Gentoo - 5.0.17-gentoo - X Server 1.20.5 |
3 Systems - 213 Benchmark Results |
AMD Ryzen 9 3900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD [AMD] Starship FreeBSD - 12.0-RELEASE - Clang 6.0.1 |
12 Systems - 139 Benchmark Results |
2 x Intel Xeon Gold 6138 - TYAN S7106 - Intel Sky Lake-E DMI3 Registers openSUSE Leap 15.0 - 4.12.14-lp150.12.28-default - KDE Plasma 5.12.6 |
12 Systems - 102 Benchmark Results |
AMD Ryzen 7 1700 Eight-Core - ASUS CROSSHAIR VI HERO - AMD Family 17h ManjaroLinux 18.0.4 - 4.20.17-1-MANJARO - X Server 1.20.4 |
3 Systems - 179 Benchmark Results |
AMD Ryzen 5 5600X 6-Core - ASRock X570 Taichi - AMD Starship Ubuntu 20.04 - 5.10.13-051013-lowlatency - GNOME Shell 3.36.4 |
8 Systems - 102 Benchmark Results |
AMD Ryzen 5 2500U - Dell 02YPPF - AMD Raven Pop 20.04 - 5.4.0-7634-generic - GNOME Shell 3.36.2 |