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

9 Seconds

Average Run Time

2 Minutes, 9 Seconds

Test Dependencies

Python

Accolades

20k+ Downloads + Recently Updated Test Profile

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.0510K20K30K40K50K
* 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 7 June 2024.
go5.9%raytrace6.8%crypto_pyaes8.9%python_startup9.2%nbody6.5%float7.4%json_loads8.9%pathlib8.2%regex_compile10.6%chaos6.2%pickle_pure_python6.6%2to36.7%django_template8.0%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: pathlib

OpenBenchmarking.org metrics for this test profile configuration based on 22 public results since 7 June 2024 with the latest data as of 9 June 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)
96th
4
8.49 +/- 0.01
Mid-Tier
75th
> 12.30
64th
7
12.50 +/- 0.20
Median
50th
14.50
Low-Tier
25th
> 16.70
14th
3
16.90 +/- 0.10
5th
4
18.00 +/- 2.70
OpenBenchmarking.orgDistribution Of Public Results - Benchmark: pathlib22 Results Range From 8 To 22 Milliseconds8101214161820222426283032246810

Based on OpenBenchmarking.org data, the selected test / test configuration (PyPerformance 1.11 - Benchmark: pathlib) has an average run-time of 2 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: pathlibRun-Time246810Min: 1 / Avg: 1.57 / Max: 2

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)