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

5 Minutes, 45 Seconds

Test Dependencies

Python

Accolades

200k+ Downloads + 5k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsPyBench Popularity Statisticspts/pybench2010.122011.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.042021.0820K40K60K80K100K
* 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 current as of 2 August 2021.

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 8,955 public results since 18 February 2018 with the latest data as of 30 July 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
# Compatible Public Results
Milliseconds (Average)
100th
19
710 +/- 75
99th
31
748 +/- 37
99th
43
748 +/- 111
99th
39
785 +/- 107
99th
3
787 +/- 10
98th
4
803 +/- 55
96th
7
843 +/- 5
96th
4
847 +/- 4
96th
7
848 +/- 51
96th
5
853 +/- 91
96th
94
856 +/- 67
95th
16
863 +/- 106
94th
36
881 +/- 94
91st
9
907 +/- 14
90th
3
920 +/- 27
90th
4
923 +/- 26
89th
8
927 +/- 7
88th
18
944 +/- 33
88th
30
945 +/- 111
87th
6
950 +/- 57
87th
6
951 +/- 5
86th
24
959 +/- 132
85th
6
968 +/- 1
84th
10
985 +/- 11
83rd
70
999 +/- 125
83rd
60
1003 +/- 102
83rd
3
1004 +/- 76
83rd
18
1007 +/- 60
83rd
17
1007 +/- 94
83rd
4
1008 +/- 49
82nd
16
1012 +/- 15
82nd
14
1016 +/- 14
82nd
18
1023 +/- 4
81st
8
1029 +/- 32
81st
10
1032 +/- 38
81st
22
1035 +/- 20
81st
5
1046 +/- 87
80th
280
1048 +/- 122
78th
15
1068 +/- 14
78th
11
1073 +/- 33
76th
3
1090 +/- 83
76th
3
1094 +/- 40
76th
5
1099 +/- 26
Mid-Tier
75th
> 1101
75th
5
1104 +/- 25
75th
10
1111 +/- 152
75th
14
1113 +/- 27
75th
6
1120 +/- 107
74th
14
1122 +/- 22
74th
6
1131 +/- 20
73rd
8
1135 +/- 28
73rd
25
1140 +/- 1
71st
6
1154 +/- 23
71st
6
1158 +/- 26
70th
3
1162 +/- 1
68th
10
1176 +/- 25
67th
38
1178 +/- 123
67th
24
1178 +/- 12
67th
16
1179 +/- 13
67th
14
1180 +/- 25
66th
9
1189 +/- 40
66th
11
1191 +/- 16
66th
11
1194 +/- 19
66th
6
1194 +/- 53
65th
9
1201 +/- 24
65th
46
1203 +/- 72
65th
12
1205 +/- 35
65th
19
1206 +/- 2
64th
15
1211 +/- 28
64th
6
1212 +/- 23
64th
9
1212 +/- 148
64th
10
1213 +/- 180
63rd
10
1222 +/- 31
63rd
3
1223 +/- 2
63rd
16
1223 +/- 14
63rd
9
1223 +/- 20
63rd
22
1224 +/- 38
61st
12
1229 +/- 16
60th
4
1240 +/- 24
60th
5
1241 +/- 141
60th
3
1245 +/- 143
60th
5
1251 +/- 128
60th
17
1251 +/- 46
59th
65
1254 +/- 148
59th
5
1256 +/- 30
59th
7
1256 +/- 14
59th
13
1258 +/- 122
58th
7
1276 +/- 64
57th
12
1291 +/- 2
56th
18
1297 +/- 163
55th
6
1319 +/- 26
55th
15
1323 +/- 131
55th
21
1330 +/- 7
55th
3
1333 +/- 198
54th
15
1336 +/- 37
54th
14
1344 +/- 64
54th
11
1345 +/- 193
53rd
5
1347 +/- 51
53rd
29
1348 +/- 33
53rd
19
1351 +/- 197
52nd
30
1369 +/- 190
51st
3
1407 +/- 66
51st
16
1409 +/- 73
51st
10
1411 +/- 189
51st
18
1411 +/- 32
Median
50th
1427
49th
17
1471 +/- 3
49th
9
1480 +/- 150
49th
11
1482 +/- 207
48th
53
1490 +/- 178
48th
5
1494 +/- 16
48th
7
1495 +/- 12
48th
3
1496 +/- 3
48th
4
1501 +/- 22
47th
8
1517 +/- 191
46th
3
1537 +/- 184
46th
31
1537 +/- 183
46th
20
1540 +/- 208
46th
5
1540 +/- 122
46th
30
1555 +/- 221
45th
42
1594 +/- 216
44th
6
1608 +/- 63
44th
22
1617 +/- 209
44th
13
1618 +/- 227
43rd
38
1640 +/- 187
42nd
4
1686 +/- 186
42nd
7
1715 +/- 173
41st
4
1729 +/- 204
41st
14
1731 +/- 256
41st
5
1743 +/- 124
41st
3
1748 +/- 52
40th
15
1761 +/- 36
39th
5
1790 +/- 74
39th
5
1810 +/- 87
39th
3
1825 +/- 16
38th
4
1848 +/- 5
38th
5
1861 +/- 215
36th
4
1935 +/- 9
35th
21
2003 +/- 220
35th
3
2003 +/- 106
35th
18
2029 +/- 256
35th
5
2058 +/- 142
34th
3
2068 +/- 274
34th
4
2076 +/- 272
34th
3
2081 +/- 268
34th
4
2149 +/- 4
32nd
12
2211 +/- 5
32nd
8
2293 +/- 236
31st
3
2360 +/- 152
31st
4
2364 +/- 302
31st
4
2369 +/- 312
31st
5
2402 +/- 183
31st
11
2405 +/- 194
31st
4
2445 +/- 353
30th
133
2509 +/- 8
29th
4
2519 +/- 349
28th
21
2600 +/- 63
26th
10
2620 +/- 335
26th
231
2620 +/- 5
Low-Tier
25th
> 2625
24th
112
2750 +/- 162
23rd
9
2809 +/- 267
22nd
10
2830 +/- 48
17th
4
3515 +/- 231
17th
9
3534 +/- 11
17th
5
3606 +/- 371
16th
4
3789 +/- 369
15th
19
3995 +/- 483
15th
11
4021 +/- 305
15th
3
4025 +/- 426
13th
71
4612 +/- 36
13th
75
4852 +/- 634
13th
18
4893 +/- 681
13th
4
4953 +/- 40
12th
36
5131 +/- 385
12th
6
5185 +/- 262
12th
14
5205 +/- 509
11th
38
5292 +/- 402
10th
14
5566 +/- 199
10th
3
5622 +/- 498
9th
10
5984 +/- 442
9th
3
6132 +/- 680
9th
4
6280 +/- 12
9th
6
6614 +/- 747
8th
51
6743 +/- 203
8th
7
6761 +/- 167
8th
4
6931 +/- 302
8th
10
7041 +/- 787
7th
66
7327 +/- 4
7th
3
8008 +/- 122
6th
30
9148 +/- 1348
5th
3
12021 +/- 570
2nd
59
20726 +/- 2999
2nd
4
21016 +/- 2883
OpenBenchmarking.orgDistribution Of Public Results - Total For Average Test Times8751 Results Range From 462 To 1733771 Milliseconds462351296979610446313913017379720846424313127779831246534713238179941646645113348580052046755513458980162446865913569380272846976313679780383247086713790180493647197113810058051040472107513911098061144473117914012138071248474128314113178081352475138714214218091456476149114315258101560477159514416298111664478169914517338122K4K6K8K10K

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 3 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-Time1020304050Min: 1 / Avg: 2.61 / Max: 51

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.14 / Max: 3

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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BasePyBench CPU Core ScalingTotal For Average Test Times2468121620243248641281.47672.95344.43015.90687.3835

Recent Test Results

OpenBenchmarking.org Results Compare

32 Systems - 43 Benchmark Results

Intel Xeon - Google Compute Engine - Intel 440FX- 82441FX PMC

Ubuntu 16.04 - 4.13.0-1008-gcp - GCC 5.4.0 20160609

7 Systems - 28 Benchmark Results

ARMv8 Cortex-A53 - Libre Board ALL-H3-CC H5 - 2048MB

Raspbian 9.6 - 4.18.0-rc3-gfc36def997cf-dirty - X Server 1.19.2

7 Systems - 28 Benchmark Results

ARMv7 rev 3 - BCM2835 Raspberry Pi 4 Model B Rev 1.1 - 4096MB

Raspbian 10 - 4.19.50-v7l+ - LXDE 0.10.0

2 Systems - 25 Benchmark Results

2 x AMD EPYC 7543 32-Core - HPE ProLiant DL385 Gen10 Plus v2 - AMD Starship

RedHatEnterpriseServer 7.9 - 3.10.0-1160.31.1.el7.x86_64 - GNOME Shell 3.28.3

2 Systems - 243 Benchmark Results

AMD EPYC 7302P 16-Core - Supermicro H11SSL-i v2.00 - AMD Starship

CentOS 7.8.2003 - 3.10.0-1127.19.1.el7.x86_64 - GCC 4.8.5 20150623

1 System - 25 Benchmark Results

2 x AMD EPYC 7543 32-Core - HPE ProLiant DL385 Gen10 Plus v2 - AMD Starship

RedHatEnterpriseServer 7.9 - 3.10.0-1160.31.1.el7.x86_64 - GNOME Shell 3.28.3

1 System - 23 Benchmark Results

Intel Core i5-9400F - MSI B360M GAMING PLUS - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.4.0-80-generic - GNOME Shell 3.36.9

1 System - 24 Benchmark Results

AMD Ryzen 5 3400G - LENOVO 3706 - AMD Raven

Ubuntu 20.04 - 5.4.0-80-generic - GNOME Shell 3.36.9

1 System - 288 Benchmark Results

AMD EPYC 7543 32-Core - TYAN S8036GM2NE-LE - AMD Starship

Ubuntu 21.04 - 5.11.0-25-generic - GNOME Shell 3.38.4

7 Systems - 28 Benchmark Results

Rockchip ARMv8 Cortex-A53 - Firefly ROC-RK3328-CC - 2048MB

Ubuntu 18.04 - 4.4.114 - X Server 1.18.4

1 System - 3 Benchmark Results

Intel Xeon - Google Compute Engine e2-standard-2 - 1 x 8192 MB RAM

Debian 10 - 4.19.0-17-cloud-amd64 - GCC 8.3.0

1 System - 2 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 m6g.large - Amazon Device 0200

Ubuntu 20.04 - 5.4.0-1045-aws - X Server

Most Popular Test Results

OpenBenchmarking.org Results Compare

16 Systems - 119 Benchmark Results

Intel Xeon Silver 4216 - 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

Intel Core i7-1065G7 - Dell 06CDVY - Intel Device 34ef

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

11 Systems - 217 Benchmark Results

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

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

12 Systems - 593 Benchmark Results

AMD Ryzen 7 3800XT 8-Core - MSI MEG X570 GODLIKE - AMD Starship

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

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

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 - 99 Benchmark Results

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

Ubuntu 20.10 - 5.9.2-050902-generic - GNOME Shell 3.38.1

1 System - 201 Benchmark Results

Unknown - Pine64 Rock64 - 4096MB

Ubuntu 18.04 - 4.4.120-rockchip-ayufan-213 - GCC 7.3.0

1 System - 476 Benchmark Results

Unknown - Marvell 8040 MACCHIATOBin - 16384MB

Ubuntu 18.04 - 4.14.22-150490-gd265712 - GCC 7.3.0

1 System - 855 Benchmark Results

Intel Core i5-5300U - LENOVO Intel powered classmate PC - Intel Broadwell-U-OPI

Kali kali-rolling - 4.15.0-kali3-amd64 - GNOME Shell 3.28.0

1 System - 813 Benchmark Results

ARMv7 rev 5 - BCM2835 Raspberry Pi 2 Model B Rev 1.1 - 927MB

Raspbian 9.4 - 4.14.34-v7+ - GCC 6.3.0 20170516

1 System - 1269 Benchmark Results

Intel Core i5-4570 - ASRock Z87 Extreme4 - Intel 4th Gen Core DRAM

Ubuntu 18.04 - 4.15.0-20-generic - GNOME Shell 3.28.1

Find More Test Results