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 22 June 2024.

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

Benchmark: 2to3

OpenBenchmarking.org metrics for this test profile configuration based on 1,643 public results since 11 January 2020 with the latest data as of 7 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)
93rd
7
135 +/- 10
91st
31
150 +/- 11
89th
15
160 +/- 16
86th
9
171 +/- 2
86th
13
172 +/- 1
84th
8
180 +/- 16
82nd
4
193 +/- 1
82nd
3
193 +/- 4
80th
11
203 +/- 1
78th
22
216 +/- 12
78th
7
222 +/- 5
77th
12
224 +/- 4
76th
3
225 +/- 2
Mid-Tier
75th
> 226
74th
4
229 +/- 5
73rd
7
231 +/- 20
72nd
4
232 +/- 4
66th
4
242 +/- 6
65th
8
245 +/- 1
64th
3
247 +/- 8
64th
6
248 +/- 26
64th
4
251 +/- 26
62nd
19
255 +/- 8
62nd
8
257 +/- 6
61st
10
262 +/- 34
59th
7
266 +/- 7
58th
5
268 +/- 2
56th
4
276 +/- 17
56th
3
278 +/- 1
55th
13
279 +/- 24
55th
4
280 +/- 10
55th
7
280 +/- 42
51st
33
294 +/- 40
Median
50th
295
50th
9
296 +/- 2
49th
6
298 +/- 4
48th
8
301 +/- 3
47th
4
302 +/- 2
46th
8
304 +/- 39
45th
4
308 +/- 6
44th
8
314 +/- 8
43rd
6
316 +/- 34
42nd
3
319 +/- 4
42nd
7
319 +/- 31
42nd
3
320 +/- 4
42nd
3
320 +/- 2
38th
4
333 +/- 41
36th
6
343 +/- 4
36th
4
343 +/- 6
35th
3
346 +/- 2
34th
4
352 +/- 1
Low-Tier
25th
> 392
25th
5
393 +/- 2
24th
5
398 +/- 2
21st
4
422 +/- 62
21st
4
428 +/- 10
21st
3
431 +/- 9
20th
3
435 +/- 1
18th
4
445 +/- 3
17th
5
459 +/- 2
16th
10
473 +/- 38
16th
4
473 +/- 1
8th
10
582 +/- 3
5th
3
660 +/- 1
4th
3
706 +/- 4
3rd
3
731 +/- 2
OpenBenchmarking.orgDistribution Of Public Results - Benchmark: 2to31643 Results Range From 1 To 996 Milliseconds1336597129161193225257289321353385417449481513545577609641673705737769801833865897929961993102550100150200250

Based on OpenBenchmarking.org data, the selected test / test configuration (PyPerformance 1.0.0 - Benchmark: 2to3) has an average run-time of 5 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: 2to3Run-Time918273645Min: 1 / Avg: 4.44 / Max: 43

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.1%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsBenchmark: 2to3Deviation246810Min: 0 / Avg: 0.1 / Max: 5

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: 2to32468101216640.68331.36662.04992.73323.4165

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)
RISC-V 64-bit
riscv64
SiFive RISC-V
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 44-Core
ARMv7 32-bit
armv7l
ARMv7 4-Core, ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A72 4-Core, ARMv7 rev 3 4-Core
ARMv8 64-bit
arm64
Apple M2 Max
ARMv8 64-bit
aarch64
ARMv8, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A73 6-Core, ARMv8 Cortex-A77 6-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 2-Core, ARMv8 Neoverse-N2, ARMv8 Neoverse-V1, ARMv8 Neoverse-V2, Ampere ARMv8 Neoverse-N1 256-Core, Ampere eMAG ARMv8 32-Core, Apple M1, Apple M1 Pro, Apple M2, Rockchip ARMv8 Cortex-A76 6-Core