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, 46 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.052024.062024.072024.082024.092K4K6K8K10K
* 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 18 September 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 843 public results since 1 September 2022 with the latest data as of 16 September 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
> 15
52nd
4
19 +/- 1
Median
50th
20
46th
3
20 +/- 1
46th
4
21 +/- 1
44th
3
21 +/- 1
43rd
4
22 +/- 3
39th
3
23
36th
3
24 +/- 3
35th
15
25 +/- 3
35th
4
25 +/- 1
32nd
3
26 +/- 2
27th
7
30 +/- 2
Low-Tier
25th
> 31
24th
3
33 +/- 3
19th
3
36 +/- 1
11th
6
47 +/- 1
4th
3
82 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Build Configuration: Default842 Results Range From 8 To 421 Seconds828486888108128148168188208228248268288308328348368388408428130260390520650

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: Default46810121624641280.76461.52922.29383.05843.823

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

1 System - 20 Benchmark Results

AMD Ryzen 7 3700X 8-Core - MSI B450M PRO-M2 - AMD Starship

Linuxmint 21.3 - 6.5.0-35-generic - Cinnamon 6.0.4

1 System - 20 Benchmark Results

AMD Ryzen 7 PRO 7840U - LENOVO ThinkPad X13 Gen 4 21J3CTO1WW - AMD Device 14e8

Linuxmint 21.3 - 6.5.0-1020-oem - Cinnamon 6.0.4

2 Systems - 21 Benchmark Results

AMD Ryzen 9 3900X 12-Core - QEMU Standard PC - Intel 82G33

Debian 12 - 6.1.0-23-amd64 - KDE Plasma 5.27.5

1 System - 21 Benchmark Results

Intel Core Ultra 7 165H - HP ZBook Firefly 16 h G11 Mobile Workstation PC 8CD1 - Intel Device 7e7f

Linuxmint 22 - 6.8.0-38-generic - Cinnamon 6.2.9

8 Systems - 2 Benchmark Results

Intel Core i7-1165G7 - HP 8720 - Intel Tiger Lake-LP

Debian GNU - 6.8.12-1-pve - GCC 12.2.0

1 System - 1 Benchmark Result

Intel Core i7-12800H - 16GB - 0GB Virtual Disk + 4GB Virtual Disk + 2 x 1100GB Virtual Disk

Fedora Linux 38 - 5.15.153.1-microsoft-standard-WSL2 - Wayland

1 System - 242 Benchmark Results

Intel Xeon Platinum 8124M - Amazon EC2 c5d.9xlarge - 70GB

Ubuntu 22.04 - 5.15.0-1057-aws - 1.3.255

2 Systems - 2 Benchmark Results

Intel Xeon Platinum 8223CL - Amazon EC2 c5d.9xlarge - 70GB

Ubuntu 22.04 - 5.15.0-1057-aws - 1.3.255

1 System - 2 Benchmark Results

Intel Xeon Platinum 8223CL - Amazon EC2 c5d.9xlarge - 70GB

Ubuntu 22.04 - 5.15.0-1057-aws - 1.3.255

1 System - 2 Benchmark Results

Intel Xeon Platinum 8223CL - Amazon EC2 c5d.9xlarge - 70GB

Ubuntu 22.04 - 5.15.0-1057-aws - 1.3.255

1 System - 2 Benchmark Results

Intel Xeon Platinum 8223CL - Amazon EC2 c5d.9xlarge - 70GB

Ubuntu 22.04 - 5.15.0-1057-aws - 1.3.255

1 System - 1 Benchmark Result

AMD Ryzen 7 5700U - LN Swift SF314-43 Sake_CA - AMD Renoir

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

3 Systems - 19 Benchmark Results

AMD Ryzen 9 7945HX - Shenzhen Meigao Electronic Equipment DRFXI - AMD Device 14d8

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

8 Systems - 2 Benchmark Results

Intel Core i5-8400T - Dell OptiPlex 7060 [04MFRM] - Intel Cannon Lake PCH

Debian GNU - 6.8.12-1-pve - GCC 12.2.0

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

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

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

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

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

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

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

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

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

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

3 Systems - 149 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.10 - 6.1.1-phx - GNOME Shell 43.1

Find More Test Results