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, 31 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.0316003200480064008000
* 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 March 2024.
Released Build, PGO + LTO Optimized49.0%Default51.0%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 702 public results since 1 September 2022 with the latest data as of 18 March 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
47th
3
20 +/- 1
46th
4
21 +/- 1
45th
5
21 +/- 2
45th
3
21 +/- 1
44th
4
22 +/- 3
39th
3
23
36th
3
24 +/- 3
35th
15
25 +/- 3
35th
4
25 +/- 1
32nd
3
26 +/- 2
26th
7
30 +/- 2
Low-Tier
25th
> 30
23rd
3
33 +/- 3
18th
3
36 +/- 1
11th
6
47 +/- 1
4th
3
82 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Build Configuration: Default693 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.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-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-rok-emmc, rk1-rok-emmc6

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 21 Benchmark Results

Intel Core i7-1165G7 - 16GB - 0GB Virtual Disk + 4GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.146.1-microsoft-standard-WSL2 - Wayland

1 System - 208 Benchmark Results

32 x Intel Xeon E312xx - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-100-generic - GCC 11.4.0

1 System - 209 Benchmark Results

32 x Intel Xeon E312xx - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-100-generic - GCC 11.4.0

1 System - 187 Benchmark Results

AMD Ryzen Threadripper PRO 7965WX 24-Cores - ASUS Pro WS WRX90E-SAGE SE - AMD Device 14a4

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

1 System - 1 Benchmark Result

AMD Ryzen 9 5950X 16-Core - Gigabyte B550I AORUS PRO AX - AMD Starship

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

1 System - 1 Benchmark Result

AMD Ryzen 9 5950X 16-Core - Gigabyte B550I AORUS PRO AX - AMD Starship

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

1 System - 21 Benchmark Results

Intel Core i7-1355U - 16GB - 0GB Virtual Disk + 4GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.146.1-microsoft-standard-WSL2 - Wayland

1 System - 21 Benchmark Results

Intel Core i7-14700HX - 8GB - 2 x 275GB Virtual Disk

Ubuntu 22.04 - 5.10.16.3-microsoft-standard-WSL2 - 1.3.255

1 System - 205 Benchmark Results

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

Ubuntu 22.04 - 6.7.0 - 1.3.255

1 System - 201 Benchmark Results

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

Ubuntu 22.04 - 5.10.160-rockchip - GCC 11.4.0

3 Systems - 205 Benchmark Results

ARMv8 Cortex-A76 - Turing Machines RK1 - 32GB

Ubuntu 22.04 - 6.7.0 - 1.3.255

3 Systems - 415 Benchmark Results

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - 4096MB

Debian 12 - 6.1.0-rpi7-rpi-2712 - GCC 12.2.0

3 Systems - 489 Benchmark Results

ARMv8 Cortex-A76 - Turing Machines RK1 - 32GB

Ubuntu 22.04 - 6.7.0 - 1.3.255

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

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

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

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

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

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

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

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

3 Systems - 167 Benchmark Results

Intel Core i5-13600K - ASUS PRIME Z790-P WIFI - Intel Device 7a27

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

Find More Test Results