Sample Pi Program

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.

Test Created

6 December 2010

Last Updated

8 April 2018

Test Maintainer

Phoronix Media 

Test Type

Processor

Average Install Time

1 Second

Average Run Time

1 Minute, 27 Seconds

Accolades

100k+ Downloads

Supported Platforms


Public Result UploadsTest Completions*Reported Installs*OpenBenchmarking.orgEventsSample Pi Program Popularity Statisticspts/sample-program2011.042011.082011.122012.042012.082012.122013.042013.082013.122014.042014.082014.122015.042015.082015.122016.042016.082016.122017.042017.082017.122018.042018.082018.122019.042019.082019.122020.042020.082020.122021.0414002800420056007000
* Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
Data current as of Sat, 10 Apr 2021 14:37:20 GMT.

Revision History

pts/sample-program-1.1.1   [View Source]   Sun, 08 Apr 2018 06:16:35 GMT
Minor fixes.

pts/sample-program-1.1.0   [View Source]   Mon, 06 Dec 2010 15:21:02 GMT
Initial import into OpenBenchmarking.org


Performance Metrics

Analyze Test Configuration:

Sample Pi Program

Phoronix Test Suite v4.2.0

OpenBenchmarking.org metrics for this test profile configuration based on 641 public results since 23 December 2012 with the latest data as of 16 June 2016.

Additional benchmark metrics will come after OpenBenchmarking.org has collected a sufficient data-set.

OpenBenchmarking.orgDistribution Of Public Results - Phoronix Test Suite v4.2.0641 Results Range From 3 To 103 Seconds312213039485766758493102111140280420560700

Based on OpenBenchmarking.org data, the selected test / test configuration (Sample Pi Program - Phoronix Test Suite v4.2.0) 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.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkPhoronix Test Suite v4.2.0Run-Time246810Min: 1 / Avg: 1 / Max: 1

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 5 Benchmark Results

Exagear Virtual i686-compatible - Greatwall GW-001M1A-FTF v1.0 - 8192MB

Ubuntu 16.04 - 4.4.131-20200710.kylin.desktop-generic - X Server 1.18.4

1 System - 5 Benchmark Results

Phytium FT-2000/4 - Greatwall GW-001M1A-FTF v1.0 - 8192MB

Kylin V10 - 4.4.131-20200710.kylin.desktop-generic - MATE

1 System - 2 Benchmark Results

AMD Ryzen 7 5800X 8-Core - Gigabyte B450 AORUS M - AMD Starship

Ubuntu 20.04 - 5.10.26-051026-generic - nouveau

1 System - 1 Benchmark Result

AMD Ryzen 7 5800X 8-Core - Gigabyte B450 AORUS M - AMD Starship

Ubuntu 20.04 - 5.10.26-051026-generic - nouveau

4 Systems - 179 Benchmark Results

Intel Core i5-11600K - ASUS ROG MAXIMUS XIII HERO - Intel Device 43ef

Ubuntu 20.04 - 5.10.13-051013-lowlatency - GNOME Shell 3.36.4

3 Systems - 179 Benchmark Results

Intel Core i5-11600K - ASUS ROG MAXIMUS XIII HERO - Intel Device 43ef

Ubuntu 20.04 - 5.10.13-051013-lowlatency - GNOME Shell 3.36.4

3 Systems - 179 Benchmark Results

Intel Core i5-11600K - ASUS ROG MAXIMUS XIII HERO - Intel Device 43ef

Ubuntu 20.04 - 5.10.13-051013-lowlatency - GNOME Shell 3.36.4

1 System - 179 Benchmark Results

Intel Core i5-11600K - ASUS ROG MAXIMUS XIII HERO - Intel Device 43ef

Ubuntu 20.04 - 5.10.13-051013-lowlatency - GNOME Shell 3.36.4

1 System - 14 Benchmark Results

Phytium FT-2000/4 - Inspur CE3000F - 1 x 8 GB DDR4-2668MT

Kylin V10 - 4.4.131-20200710.kylin.desktop-generic - X Server 1.18.4

1 System - 13 Benchmark Results

Loongson-3A R4 - Lenovo BM6J58 - Loongson LLC Hyper Transport Bridge

Uos 20 - 4.19.0-loongson-3-desktop - Deepin Desktop Environment

1 System - 1 Benchmark Result

2 x Intel Xeon E5620 - Dell 0DPRKF - Intel 5500 I

openSUSE 20210315 - 5.12.0-rc3-1.g89b1f10-default - KDE Plasma 5.21.3

1 System - 6 Benchmark Results

Intel Core i5-8365U - LENOVO 20N3S4AX00 - Intel Cannon Point-LP

Pop 20.10 - 5.8.0-7642-generic - GNOME Shell 3.38.2

Most Popular Test Results

Find More Test Results