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, 38 Seconds

Test Dependencies

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

Accolades

30k+ 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.112023.122024.012024.022024.032024.042024.052K4K6K8K10K
* 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 15 May 2024.
Released Build, PGO + LTO Optimized49.8%Default50.2%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 743 public results since 1 September 2022 with the latest data as of 16 May 2024.

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
27
12 +/- 1
Mid-Tier
75th
> 16
52nd
4
19 +/- 1
Median
50th
20
46th
3
20 +/- 1
45th
4
21 +/- 1
44th
5
21 +/- 2
44th
3
21 +/- 1
43rd
4
22 +/- 3
38th
3
23
35th
3
24 +/- 3
34th
4
25 +/- 1
34th
15
25 +/- 3
31st
3
26 +/- 2
Low-Tier
25th
> 30
25th
7
30 +/- 2
22nd
3
33 +/- 3
18th
3
36 +/- 1
11th
6
47 +/- 1
5th
3
82 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Build Configuration: Default741 Results Range From 8 To 421 Seconds828486888108128148168188208228248268288308328348368388408428120240360480600

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.02 / 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.76251.5252.28753.053.8125

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, Apple M2 Pro
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 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, Rockchip ARMv8 Cortex-A76 4-Core, rk1-mainline-emmc, rk1-mainline-nvme, rk1-rok-emmc, rk1-rok-emmc6

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 58 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P - AMD Device 14d8

Debian 12 - 6.1.0-20-amd64 - X Server 1.21.1.7

2 Systems - 29 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P - AMD Device 14d8

Ubuntu 22.04 - 5.15.0-107-generic - KDE Plasma 5.24.7

1 System - 16 Benchmark Results

Intel Xeon E5-2697 v2 - Apple Mac Pro - 4 x 16 GB DDR3-1866MHz

macOS 13.6.7 - 22.6.0 - GCC 14.0.3 + Clang 14.0.3

1 System - 16 Benchmark Results

Apple M1 - Apple Mac mini - 8GB

macOS 13.6.7 - 22.6.0 - Clang 14.0.3 + GCC 14.0.3

1 System - 920 Benchmark Results

1 System - 1 Benchmark Result

QEMU Virtual 2.5+ - QEMU Standard PC - Intel 440FX 82441FX PMC

Debian 12 - 6.1.0-18-amd64 - GCC 12.2.0

1 System - 926 Benchmark Results

Intel Core i5-14500 - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.8.0-31-generic - GNOME Shell 46.0

1 System - 489 Benchmark Results

rk1-mainline-nvme - Turing Machines RK1 - 32GB

Ubuntu 22.04 - 6.7.0 - 1.3.255

3 Systems - 489 Benchmark Results

ARMv8 Cortex-A76 - Turing Machines RK1 - 32GB

Ubuntu 22.04 - 6.7.0 - 1.3.255

1 System - 205 Benchmark Results

rk1-mainline-emmc - Turing Machines RK1 - 32GB

Ubuntu 22.04 - 6.7.0 - 1.3.255

2 Systems - 12 Benchmark Results

Intel Core Ultra 7 165U - LENOVO ThinkPad T14 Gen 5 21MLCTO1WW - Intel Device 7e7f

Ubuntu 22.04 - 6.5.0-28-generic - GNOME Shell 42.9

1 System - 1 Benchmark Result

Apple M2 Pro - Apple MacBook Pro - 16GB

macOS 14.0 - 23.0.0 - GCC 15.0.0 + Clang 15.0.0 + Xcode 15.1

1 System - 21 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P - AMD Device 14d8

Debian 12 - 6.1.0-20-amd64 - X Server 1.21.1.7

1 System - 1 Benchmark Result

ARMv8 Cortex-A53 - OrangePi Zero2 W - 1024MB

Debian 12 - 6.1.31-sun50iw9 - GCC 12.2.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

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

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 - 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 - 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 - 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

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 - 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

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

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

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

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 - 167 Benchmark Results

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

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-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