Timed CPython Compilation

This test times how long it takes to build the reference Python implementation, CPython, with optimizations and LTO enabled for a release build.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark build-python.

Project Site

python.org

Source Repository

github.com

Test Created

1 September 2022

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

2 Seconds

Average Run Time

3 Minutes, 32 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Libxml2 + UUID + BZIP2 + Zlib

Accolades

20k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page ViewsOpenBenchmarking.orgEventsTimed CPython Compilation Popularity Statisticspts/build-python2022.092022.102022.112022.122023.012023.022023.032023.042023.052023.062023.072023.082023.092023.102023.1113002600390052006500
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** 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 updated weekly as of 30 November 2023.
Released Build, PGO + LTO Optimized49.1%Default50.9%Build Configuration Option PopularityOpenBenchmarking.org

Revision History

pts/build-python-1.0.0   [View Source]   Thu, 01 Sep 2022 14:57:41 GMT
Initial commit of CPython build benchmark case.

Suites Using This Test

Timed Code Compilation

Multi-Core

Programmer / Developer System Benchmarks


Performance Metrics

Analyze Test Configuration:

Timed CPython Compilation 3.10.6

Build Configuration: Default

OpenBenchmarking.org metrics for this test profile configuration based on 647 public results since 1 September 2022 with the latest data as of 28 November 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.

Component
Percentile Rank
# Compatible Public Results
Seconds (Average)
96th
25
12 +/- 1
Mid-Tier
75th
> 15
51st
4
19 +/- 1
Median
50th
20
45th
3
20 +/- 1
44th
4
21 +/- 1
43rd
5
21 +/- 2
43rd
3
21 +/- 1
42nd
4
22 +/- 3
37th
3
23
33rd
3
24 +/- 3
32nd
4
25 +/- 1
32nd
15
25 +/- 3
Low-Tier
25th
> 28
24th
7
30 +/- 2
20th
3
33 +/- 3
4th
3
82 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Build Configuration: Default647 Results Range From 8 To 299 Seconds82542597693110127144161178195212229246263280297314100200300400500

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed CPython Compilation 3.10.6 - Build Configuration: Default) has an average run-time of 2 minutes. By default this test profile is set to run at least 1 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 BenchmarkBuild Configuration: DefaultRun-Time246810Min: 1 / Avg: 1.01 / Max: 2

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseTimed CPython Compilation CPU Core ScalingBuild Configuration: Default468101216641280.77711.55422.33133.10843.8855

Tested CPU Architectures

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.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
ARMv8 64-bit
arm64
Apple M1, Apple M1 Pro
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-X1C, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1, Apple M1 Pro, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 23 Benchmark Results

8 x AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - Intel 440BX

Ubuntu 20.04 - 5.15.0-88-generic - GNOME Shell 3.36.4

1 System - 566 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.5 - Broadcom BCM2711

Arch Linux ARM - 6.1.58-2-rpi-ARCH - GCC 12.1.0 + Clang 16.0.6

2 Systems - 22 Benchmark Results

8 x AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - Intel 440BX

Ubuntu 20.04 - 5.15.0-88-generic - GNOME Shell 3.36.4

2 Systems - 23 Benchmark Results

8 x AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - Intel 440BX

Ubuntu 20.04 - 5.15.0-88-generic - GNOME Shell 3.36.4

1 System - 19 Benchmark Results

16 x AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - Intel 440BX

Ubuntu 20.04 - 5.15.0-75-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

AMD Ryzen 7 3700X 8-Core - Gigabyte AB350-Gaming 3-CF - AMD Starship

Ubuntu 22.04 - 6.2.0-36-generic - GNOME Shell 42.9

1 System - 21 Benchmark Results

8 x AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - Intel 440BX

Ubuntu 20.04 - 5.15.0-88-generic - GNOME Shell 3.36.4

1 System - 14 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASUS ProArt X670E-CREATOR WIFI - AMD Device 14d8

Ubuntu 23.10 - 6.5.0-10-generic - GNOME Shell 45.0

1 System - 76 Benchmark Results

AMD Ryzen 7 7800X3D 8-Core - ASUS ProArt B650-CREATOR - AMD Device 14d8

Debian 12 - 6.5.0-0.deb12.1-amd64 - Xfce 4.18

1 System - 21 Benchmark Results

AMD Ryzen 7 2700X Eight-Core - MSI B450 TOMAHAWK - AMD 17h

Linuxmint 20.3 - 5.4.0-155-generic - KDE Plasma 5.18.8

1 System - 1 Benchmark Result

AMD Ryzen 7 3700X 8-Core - Gigabyte AB350-Gaming 3-CF - AMD Starship

Ubuntu 22.04 - 6.2.0-36-generic - GNOME Shell 42.9

1 System - 1 Benchmark Result

AMD Ryzen 7 7735HS - Shenzhen Meigao Electronic Equipment F7BFD - AMD Device 14b5

Ubuntu 22.04 - 5.15.0-88-generic - 1.3.238

1 System - 1 Benchmark Result

Intel Xeon E5-1650 v3 - ASUS Z10PA-U8 - Intel Xeon E7 v3

Debian 11 - 5.15.116-1-pve - GCC 10.2.1 20210110

1 System - 1 Benchmark Result

AMD Ryzen 7 7735HS - Shenzhen Meigao Electronic Equipment F7BFD - AMD Device 14b5

Ubuntu 22.04 - 5.15.0-88-generic - 1.3.238

1 System - 21 Benchmark Results

AMD Ryzen 5 PRO 2400G - HP 83E9 - AMD Raven

Debian 12 - 6.1.0-13-amd64 - GNOME Shell 43.6

Most Popular Test Results

OpenBenchmarking.org Results Compare

4 Systems - 211 Benchmark Results

AMD Ryzen 9 3900XT 12-Core - MSI MEG X570 GODLIKE - AMD Starship

Ubuntu 22.04 - 5.15.0-40-generic - GNOME Shell 42.2

3 Systems - 38 Benchmark Results

Intel Core i5-13600K - ASUS ROG STRIX Z690-E GAMING WIFI - Intel Device 7aa7

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

2 Systems - 384 Benchmark Results

Intel Core i9-13900K - ASUS PRIME Z790-P WIFI - Intel Device 7a27

Clear Linux OS 37600 - 6.0.7-1207.native - GNOME Shell 43.0

3 Systems - 311 Benchmark Results

Intel Core i5-12600K - ASUS PRIME Z690-P WIFI D4 - Intel Device 7aa7

Ubuntu 22.04 - 5.19.0-051900rc6daily20220716-generic - GNOME Shell 42.1

2 Systems - 705 Benchmark Results

2 x AMD EPYC 7713 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.04 - 5.15.0-47-generic - GNOME Shell 42.4

3 Systems - 172 Benchmark Results

Intel Core i5-12400 - MSI PRO Z690-A WIFI DDR4 - Intel Device 7aa7

Ubuntu 22.04 - 5.15.0-40-generic - GNOME Shell 42.2

5 Systems - 75 Benchmark Results

AMD Ryzen 9 3950X 16-Core - ASUS ROG CROSSHAIR VII HERO - AMD Starship

Ubuntu 22.04 - 5.19.0-051900daily20220813-generic - GNOME Shell 42.2

3 Systems - 88 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 5.17.0-1013-oem - GNOME Shell 42.2

4 Systems - 49 Benchmark Results

2 x AMD EPYC 7713 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.04 - 5.19.0-051900daily20220803-generic - GNOME Shell 42.4

3 Systems - 49 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 5.19.0-051900rc7-generic - GNOME Shell 42.2

2 Systems - 334 Benchmark Results

2 x AMD EPYC 7601 32-Core - Dell 02MJ3T - AMD 17h

Ubuntu 22.04 - 5.15.0-40-generic - GNOME Shell 42.2

2 Systems - 343 Benchmark Results

2 x Intel Xeon Platinum 8280 - GIGABYTE MD61-SC2-00 v01000100 - Intel Sky Lake-E DMI3 Registers

Ubuntu 21.04 - 5.11.0-49-generic - GNOME Shell 3.38.4

2 Systems - 361 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - MSI Creator TRX40 - AMD Starship

Ubuntu 22.04 - 5.19.0-051900rc7-generic - GNOME Shell 42.2

3 Systems - 270 Benchmark Results

AMD EPYC 7F32 8-Core - ASRockRack EPYCD8 - AMD Starship

Debian 11 - 5.10.0-10-amd64 - GNOME Shell 3.38.6

Find More Test Results