PyPerformance

PyPerformance is the reference Python performance benchmark suite that can be used for comparing Python implementations or also benchmarking hardware/software performance.

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

Source Repository

github.com

Test Created

11 January 2020

Last Updated

7 June 2024

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

15 Seconds

Average Run Time

2 Minutes, 9 Seconds

Test Dependencies

Python

Accolades

20k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsPyPerformance Popularity Statisticspts/pyperformance2020.012020.032020.052020.072020.092020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.032024.052024.0711K22K33K44K55K
* 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.
*** Test profile page view reporting began March 2021.
Data updated weekly as of 14 August 2024.
pathlib6.4%raytrace6.1%regex_compile6.3%json_loads6.4%python_startup6.4%float6.2%chaos6.2%crypto_pyaes6.4%gc_collect6.2%django_template6.1%asyncio_websockets6.2%async_tree_io6.3%nbody6.1%go6.1%xml_etree6.5%pickle_pure_python6.1%Benchmark Option PopularityOpenBenchmarking.org

Revision History

pts/pyperformance-1.1.0   [View Source]   Fri, 07 Jun 2024 11:16:05 GMT
Update against upstream PyPerformance 1.11, switch to PyPi version, add some newer tests too.

pts/pyperformance-1.0.2   [View Source]   Thu, 28 May 2020 09:10:11 GMT
Add Windows support.

pts/pyperformance-1.0.1   [View Source]   Sat, 11 Jan 2020 09:53:30 GMT
Drop some tests having issues.

pts/pyperformance-1.0.0   [View Source]   Sat, 11 Jan 2020 08:53:00 GMT
Initial commit of PyPerformance.

Suites Using This Test

Python

Programmer / Developer System Benchmarks


Performance Metrics

Analyze Test Configuration:

PyPerformance 1.11

Benchmark: xml_etree

OpenBenchmarking.org metrics for this test profile configuration based on 302 public results since 7 June 2024 with the latest data as of 16 August 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
Milliseconds (Average)
97th
11
27 +/- 1
Mid-Tier
75th
> 34
Median
50th
37
39th
9
44 +/- 2
36th
6
45 +/- 7
Low-Tier
25th
> 49
21st
3
51 +/- 3
21st
9
52 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Benchmark: xml_etree264 Results Range From 26 To 230 Milliseconds264054688296110124138152166180194208222236306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (PyPerformance 1.11 - Benchmark: xml_etree) has an average run-time of 6 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 BenchmarkBenchmark: xml_etreeRun-Time3691215Min: 5 / Avg: 5.91 / Max: 9

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not 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 BasePyPerformance CPU Core ScalingBenchmark: xml_etree4681214160.41250.8251.23751.652.0625

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE2 (SSE2)
Used by default on supported hardware.
 
MOVDQA MOVDQU PUNPCKLQDQ CVTSS2SD UCOMISD CVTSD2SS MULSD ADDSD CVTSI2SD MOVD PUNPCKHQDQ PSUBQ XORPD COMISD MOVAPD DIVSD SUBSD CVTTSD2SI SHUFPD UNPCKLPD ANDPD ORPD ANDNPD SUBPD ADDPD UNPCKHPD MULPD PADDQ PSRLDQ SQRTSD CMPNLESD MINSD MAXSD MOVMSKPD MOVUPD CMPLTSD DIVPD
Last automated analysis: 31 January 2021

This test profile binary relies on the shared libraries libpthread.so.0, libdl.so.2, libutil.so.1, libm.so.6, libexpat.so.1, libz.so.1, libc.so.6.

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 M2 Pro
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 16-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-V1 64-Core, ARMv8 Neoverse-V2 96-Core

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 91 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

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

2 Systems - 91 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

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

2 Systems - 81 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

Debian 12 - 6.1.0-11-amd64 - X Server

2 Systems - 81 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

Debian 12 - 6.1.0-11-amd64 - X Server

1 System - 80 Benchmark Results

AMD Ryzen 7 PRO 7840U - LENOVO ThinkPad T14s Gen 4 21F80041GE - AMD Device 14e8

Gentoo 2.15 - 6.10.3-gentoo-dist - GNOME Shell 45.5

1 System - 80 Benchmark Results

AMD Ryzen 7 PRO 7840U - LENOVO ThinkPad T14s Gen 4 21F80041GE - AMD Device 14e8

Gentoo 2.15 - 6.10.2-gentoo-dist - GNOME Shell 45.5

4 Systems - 92 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 AORUS PRO WIFI - AMD Starship

Pop 22.04 - 6.8.0-76060800daily20240311-generic - GNOME Shell 42.5

2 Systems - 105 Benchmark Results

Intel Core i7-1165G7 - Dell XPS 13 9310 0GG9PT - Intel Tiger Lake-LP

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

1 System - 162 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - System76 Thelio Major - AMD Device 14a4

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

7 Systems - 25 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

2 Systems - 413 Benchmark Results

AMD Ryzen 7 4700U - LENOVO IdeaPad 5 14ARE05 LNVNB161216 - AMD Renoir

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

1 System - 1002 Benchmark Results

2 Systems - 87 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.metal-24xl - 12 x 64GB DDR5-5600MT

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 88 Benchmark Results

ARMv8 Cortex-A72 - Amazon EC2 a1.metal - 32GB

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 999 Benchmark Results

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 413 Benchmark Results

AMD Ryzen 7 7840HS - Framework Laptop 16 - AMD Device 14e8

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

4 Systems - 305 Benchmark Results

2 x Intel Xeon 6780E - Quanta Cloud QuantaGrid D55Q-2U S7Q-MB-MPS-MDP - Intel Ice Lake IEH

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

2 Systems - 1012 Benchmark Results

3 Systems - 26 Benchmark Results

Intel Core i7-1280P - MSI Prestige 14Evo A12M MS-14C6 - Intel Alder Lake PCH

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.2

18 Systems - 442 Benchmark Results

AMD Ryzen 7 8700G - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14e8

Ubuntu 24.04 - 6.10.0-061000rc2-generic - GNOME Shell 46.0

3 Systems - 111 Benchmark Results

2 x AMD EPYC 9734 112-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-22-generic - GCC 13.2.0

3 Systems - 47 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO ThinkPad X13 Gen 3 21CM0001US - AMD 17h-19h PCIe Root Complex

Fedora Linux 39 - 6.5.7-300.fc39.x86_64 - GNOME Shell 45.0

3 Systems - 17 Benchmark Results

AMD Ryzen 7 7840U - Framework Laptop 13 - AMD Device 14e8

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

4 Systems - 17 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

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

2 Systems - 107 Benchmark Results

AMD Ryzen 7 7840U - PHX Swift SFE16-43 Ray_PEU - AMD Device 14e8

Tuxedo 22.04 - 6.5.0-10022-tuxedo - KDE Plasma 5.27.10

2 Systems - 51 Benchmark Results

AMD Ryzen 9 5900HX - ASUS ROG Strix G513QY_G513QY G513QY v1.0 - AMD Renoir

Ubuntu 22.10 - 5.19.0-46-generic - GNOME Shell 43.0

2 Systems - 107 Benchmark Results

AMD Ryzen 7 7840U - PHX Swift SFE16-43 Ray_PEU - AMD Device 14e8

Tuxedo 22.04 - 6.5.0-10022-tuxedo - KDE Plasma 5.27.10

3 Systems - 17 Benchmark Results

Intel Core Ultra 7 155H - MTL Swift SFG14-72T Coral_MTH - Intel Device 7e7f

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

17 Systems - 40 Benchmark Results

AMD Ryzen 7 7800X3D 8-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.10.0-061000rc2-generic - GNOME Shell 46.0

Find More Test Results