PyBench

This test profile reports the total time of the different average timed test results from PyBench. PyBench reports average test times for different functions such as BuiltinFunctionCalls and NestedForLoops, with this total result providing a rough estimate as to Python's average performance on a given system. This test profile runs PyBench each time for 20 rounds.

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

Project Site

svn.python.org

Test Created

6 December 2010

Last Updated

17 January 2019

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

1 Second

Average Run Time

4 Minutes, 39 Seconds

Test Dependencies

Python

Accolades

200k+ Downloads + 5k+ Public Benchmark Results

Supported Platforms


Public Result UploadsTest Completions*Reported Installs*OpenBenchmarking.orgEventsPyBench Popularity Statisticspts/pybench2011.042011.082011.122012.042012.082012.122013.042013.082013.122014.042014.082014.122015.042015.082015.122016.042016.082016.122017.042017.082017.122018.042018.082018.122019.042019.082019.122020.042020.082020.122021.0415K30K45K60K75K
* 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 current as of Sat, 10 Apr 2021 11:40:39 GMT.

Revision History

pts/pybench-1.1.3   [View Source]   Thu, 17 Jan 2019 10:20:52 GMT
Windows test profile update for latest Python.

pts/pybench-1.1.2   [View Source]   Wed, 07 Mar 2018 11:49:45 GMT
Explicitly use the default Python 3 path on Windows to avoid python2 being picked up which no longer works with this test code.

pts/pybench-1.1.1   [View Source]   Fri, 02 Mar 2018 15:28:39 GMT
Windows support was refreshingly easy...

pts/pybench-1.1.0   [View Source]   Sun, 18 Feb 2018 15:46:36 GMT
Update PyBench to a Python3 port

pts/pybench-1.0.1   [View Source]   Thu, 15 Feb 2018 15:07:12 GMT
Be explicit about python2, don't use generic python call as this test will break when python is python3.

pts/pybench-1.0.0   [View Source]   Mon, 06 Dec 2010 15:19:25 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

Server CPU Tests

Python

Single-Threaded

Programmer / Developer System Benchmarks


Performance Metrics

Analyze Test Configuration:

PyBench 2018-02-16

Total For Average Test Times

OpenBenchmarking.org metrics for this test profile configuration based on 15,803 public results since 18 February 2018 with the latest data as of 10 April 2021.

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
# Matching Public Results
Milliseconds (Average)
100th
12
738 +/- 8
100th
13
739 +/- 7
100th
10
748 +/- 75
100th
26
771 +/- 94
98th
5
841 +/- 2
97th
250
844 +/- 42
97th
5
853 +/- 91
97th
114
858
96th
16
863 +/- 106
91st
9
907 +/- 14
90th
3
920 +/- 27
90th
4
923 +/- 26
88th
18
944 +/- 33
88th
28
948 +/- 115
87th
5
949 +/- 4
86th
24
959 +/- 132
86th
4
962 +/- 69
85th
3
968 +/- 2
84th
3
992 +/- 48
83rd
67
1001 +/- 127
83rd
60
1003 +/- 102
83rd
3
1004 +/- 76
83rd
18
1007 +/- 60
83rd
14
1016 +/- 14
83rd
13
1016 +/- 29
82nd
18
1023 +/- 4
82nd
8
1029 +/- 32
82nd
10
1032 +/- 38
82nd
22
1035 +/- 20
82nd
5
1046 +/- 87
82nd
15
1047 +/- 152
81st
826
1053 +/- 117
80th
15
1068 +/- 14
79th
10
1075 +/- 34
77th
3
1090 +/- 83
77th
3
1094 +/- 40
77th
5
1099 +/- 26
77th
5
1104 +/- 25
76th
10
1111 +/- 152
76th
14
1113 +/- 27
76th
6
1120 +/- 107
76th
14
1122 +/- 22
76th
6
1131 +/- 20
Mid-Tier
75th
> 1131
75th
8
1135 +/- 28
75th
25
1140 +/- 1
73rd
6
1154 +/- 23
73rd
6
1158 +/- 26
72nd
3
1162 +/- 1
70th
15
1172 +/- 12
68th
10
1176 +/- 25
68th
24
1178 +/- 12
68th
38
1178 +/- 123
68th
16
1179 +/- 13
68th
14
1180 +/- 25
68th
9
1189 +/- 40
67th
11
1191 +/- 16
67th
11
1194 +/- 19
67th
6
1194 +/- 53
67th
9
1201 +/- 24
67th
46
1203 +/- 72
67th
12
1205 +/- 35
67th
19
1206 +/- 2
67th
15
1211 +/- 28
66th
9
1212 +/- 148
66th
6
1212 +/- 23
66th
10
1213 +/- 180
66th
839
1220 +/- 131
65th
10
1222 +/- 31
65th
16
1223 +/- 14
65th
9
1223 +/- 20
65th
3
1223 +/- 2
65th
22
1224 +/- 38
64th
12
1229 +/- 16
62nd
4
1240 +/- 24
62nd
5
1241 +/- 141
62nd
3
1245 +/- 143
62nd
17
1251 +/- 46
62nd
5
1251 +/- 128
61st
5
1256 +/- 30
61st
6
1257 +/- 16
61st
13
1258 +/- 122
59th
143
1276 +/- 100
59th
7
1276 +/- 64
59th
12
1291 +/- 2
58th
18
1297 +/- 163
58th
4
1322 +/- 33
58th
15
1323 +/- 131
57th
21
1330 +/- 7
57th
3
1333 +/- 198
57th
15
1336 +/- 37
56th
14
1344 +/- 64
56th
11
1345 +/- 193
56th
5
1347 +/- 51
56th
29
1348 +/- 33
56th
19
1351 +/- 197
55th
30
1369 +/- 190
54th
16
1409 +/- 73
54th
10
1411 +/- 189
54th
18
1411 +/- 32
53rd
17
1471 +/- 3
53rd
9
1480 +/- 150
53rd
11
1482 +/- 207
52nd
129
1488 +/- 111
52nd
5
1494 +/- 16
52nd
7
1495 +/- 12
52nd
4
1501 +/- 22
51st
8
1517 +/- 191
Median
50th
1519
50th
31
1537 +/- 183
50th
3
1537 +/- 184
50th
5
1540 +/- 122
50th
20
1540 +/- 208
50th
148
1553 +/- 158
50th
30
1555 +/- 221
49th
42
1594 +/- 216
48th
6
1608 +/- 63
48th
7
1615 +/- 214
48th
22
1617 +/- 209
48th
13
1618 +/- 227
48th
38
1640 +/- 187
47th
4
1686 +/- 186
47th
7
1715 +/- 173
47th
4
1729 +/- 204
47th
14
1731 +/- 256
46th
5
1743 +/- 124
46th
3
1748 +/- 52
45th
15
1761 +/- 36
44th
5
1790 +/- 74
44th
5
1810 +/- 87
44th
4
1848 +/- 5
43rd
4
1913 +/- 210
43rd
4
1935 +/- 9
43rd
3
2003 +/- 106
43rd
21
2003 +/- 220
43rd
18
2029 +/- 256
42nd
3
2068 +/- 274
42nd
4
2076 +/- 272
42nd
3
2081 +/- 268
42nd
4
2108 +/- 101
42nd
4
2149 +/- 4
40th
12
2211 +/- 5
40th
8
2293 +/- 236
40th
3
2360 +/- 152
40th
4
2364 +/- 302
40th
4
2369 +/- 312
40th
5
2402 +/- 183
40th
11
2405 +/- 194
40th
4
2445 +/- 353
38th
445
2509 +/- 8
36th
4
2519 +/- 349
35th
21
2600 +/- 63
33rd
777
2620 +/- 5
29th
346
2787 +/- 63
27th
9
2809 +/- 267
26th
10
2830 +/- 48
Low-Tier
25th
> 2988
20th
112
3225
19th
4
3515 +/- 231
19th
9
3534 +/- 11
18th
5
3606 +/- 371
18th
4
3789 +/- 369
17th
18
3940 +/- 431
17th
3
4025 +/- 426
16th
10
4100 +/- 166
15th
227
4614 +/- 31
14th
71
4833 +/- 646
14th
18
4893 +/- 681
14th
4
4953 +/- 40
13th
35
5127 +/- 390
13th
6
5185 +/- 262
13th
14
5205 +/- 509
11th
14
5566 +/- 199
11th
3
5622 +/- 498
11th
3
6132 +/- 680
11th
4
6280 +/- 12
11th
6
6614 +/- 747
10th
128
6689 +/- 115
10th
4
6815 +/- 211
10th
4
6931 +/- 302
10th
10
7041 +/- 787
9th
222
7327 +/- 4
8th
3
8008 +/- 122
8th
30
9148 +/- 1348
7th
111
10577
7th
3
12021 +/- 570
3rd
111
18183
2nd
57
20794 +/- 2565
OpenBenchmarking.orgDistribution Of Public Results - Total For Average Test Times15599 Results Range From 462 To 1733771 Milliseconds462351296979610446313913017379720846424313127779831246534713238179941646645113348580052046755513458980162446865913569380272846976313679780383247086713790180493647197113810058051040472107513911098061144473117914012138071248474128314113178081352475138714214218091456476149114315258101560477159514416298111664478169914517338123K6K9K12K15K

Based on OpenBenchmarking.org data, the selected test / test configuration (PyBench 2018-02-16 - Total For Average Test Times) 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 BenchmarkTotal For Average Test TimesRun-Time918273645Min: 1 / Avg: 2.18 / Max: 42

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 RunsTotal For Average Test TimesDeviation246810Min: 0 / Avg: 0.11 / Max: 2

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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BasePyBench CPU Core ScalingTotal For Average Test Times246812161820243248641281.11252.2253.33754.455.5625

Recent Test Results

OpenBenchmarking.org Results Compare

12 Systems - 453 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Tiger Lake-H

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

1 System - 1 Benchmark Result

Intel Core i7-8565U - 14GB - 2 x 275GB Virtual Disk

Ubuntu 20.10 - 5.11.0-next-20210222-microsoft-cbl - X Server

1 System - 115 Benchmark Results

Intel Xeon E3-1225 v6 - (2.002 BIOS) - Intel Xeon E3-1200 v6

Ubuntu 20.04 - 5.4.0-70-generic - 1.2.145

1 System - 115 Benchmark Results

Intel Xeon E3-1225 v5 - INTEL H110 - Intel Xeon E3-1200 v5

Ubuntu 20.04 - 5.4.0-66-generic - 1.2.145

2 Systems - 28 Benchmark Results

Intel Atom Z3735F - WinBook. TW802 - Intel Atom Z36xxx

Arch Linux - 5.11.12-zen1-1-zen - X Server 1.20.10

1 System - 108 Benchmark Results

2 x Intel Xeon Gold 5218R - Supermicro X11DPX-T - Intel Device 2020

Ubuntu 16.04 - 4.15.0-140-generic - Unity 7.4.0

1 System - 1 Benchmark Result

Intel Core i7-7700HQ - HP 8390 v40.21 - Intel Xeon E3-1200 v6

blackPanther OS 18.1 - 5.10.1-desktop-1bP - KDE Plasma 5.19.4

3 Systems - 94 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - 2 x 16384 MB 3200MHz Corsair CMK32GX4M2Z3600C18

Microsoft Windows 10 Pro Build 19042 - 10.0 - 10.0.19041.868

2 Systems - 92 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - 2 x 16384 MB 3200MHz Corsair CMK32GX4M2Z3600C18

Microsoft Windows 10 Pro Build 19042 - 10.0 - 10.0.19041.868

5 Systems - 67 Benchmark Results

ARMv7 Cortex-A72 - BCM2711 Raspberry Pi 4 Model B Rev 1.1 - 2048MB

Raspbian 10 - 5.4.51-v7l+ - LXDE 0.10.0

1 System - 212 Benchmark Results

Intel Core i5-8250U - LENOVO 20L7CTO1WW - Intel Xeon E3-1200 v6

Debian testing - 5.10.0-5-amd64 - GNOME Shell 3.38.4

1 System - 1 Benchmark Result

Intel Core i7-7700HQ - HP 8390 v40.21 - Intel Xeon E3-1200 v6

blackPanther OS 18.1 - 5.10.1-desktop-1bP - KDE Plasma 5.19.4

Most Popular Test Results

OpenBenchmarking.org Results Compare

16 Systems - 119 Benchmark Results

Intel Xeon Gold 5220R - GIGABYTE MD61-SC2-00 v01000100 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.04 - 5.4.0-18-generic - GNOME Shell 3.36.0

2 Systems - 535 Benchmark Results

AMD Ryzen 5 4500U - LENOVO LNVNB161216 - AMD Renoir Root Complex

Ubuntu 20.04 - 5.9.0-050900rc7daily20201002-generic - GNOME Shell 3.36.4

12 Systems - 593 Benchmark Results

Intel Core i9-10900K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

Ubuntu 20.04 - 5.8.0-050800daily20200622-generic - GNOME Shell 3.36.2

11 Systems - 217 Benchmark Results

AMD Ryzen 5 2600X Six-Core - ASUS ROG CROSSHAIR VIII HERO - AMD 17h

Ubuntu 20.04 - 5.9.0-050900-generic - GNOME Shell 3.36.4

4 Systems - 55 Benchmark Results

AMD Ryzen 3 3200U - MOTILE PF4PU1F - AMD Raven

Ubuntu 20.04 - 5.4.0-9-generic - GNOME Shell 3.34.3

4 Systems - 99 Benchmark Results

VirtualApple - Apple Mac mini - 8GB

macOS 11.0 - 20.1.0 - OpenCL 1.2

12 Systems - 209 Benchmark Results

AMD Ryzen 7 2700 Eight-Core - Gigabyte AB350N-Gaming WIFI-CF - AMD 17h

Ubuntu 19.04 - 5.2.0-999-generic - GNOME Shell 3.32.1

3 Systems - 14 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 20.10 - 5.8.0-38-generic - GNOME Shell 3.38.1

4 Systems - 41 Benchmark Results

AMD Ryzen Threadripper 2990WX 32-Core - ASUS ROG ZENITH EXTREME - AMD [AMD] Family 17h

FreeBSD - 11.2-STABLE - GCC 7.3.0 + Clang 6.0.1

6 Systems - 143 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 20.10 - 5.11.0-051100rc3daily20210116-generic - GNOME Shell 3.38.1

10 Systems - 28 Benchmark Results

AMD Ryzen Threadripper 2990WX 32-Core - ASUS ROG ZENITH EXTREME - AMD Family 17h

Ubuntu 18.10 - 4.19.0-999-generic - GNOME Shell 3.30.1

Find More Test Results