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, 28 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.0415K30K45K60K75K
* 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 16 June 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 10,525 public results since 18 February 2018 with the latest data as of 15 June 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
17
707 +/- 79
100th
29
738 +/- 9
100th
12
738 +/- 8
99th
43
748 +/- 111
98th
5
831 +/- 4
97th
7
843 +/- 5
96th
4
847 +/- 4
96th
128
851 +/- 58
96th
5
853 +/- 91
96th
53
858
95th
16
863 +/- 106
91st
9
907 +/- 14
90th
3
920 +/- 27
90th
4
923 +/- 26
89th
8
927 +/- 7
88th
18
944 +/- 33
88th
29
946 +/- 113
88th
5
949 +/- 4
88th
6
950 +/- 57
86th
24
959 +/- 132
86th
6
968 +/- 1
84th
10
985 +/- 11
84th
3
992 +/- 48
83rd
68
1002 +/- 126
83rd
60
1003 +/- 102
83rd
3
1004 +/- 76
83rd
18
1007 +/- 60
83rd
16
1012 +/- 15
83rd
14
1016 +/- 14
82nd
18
1023 +/- 4
82nd
8
1029 +/- 32
82nd
10
1032 +/- 38
82nd
22
1035 +/- 20
81st
5
1046 +/- 87
81st
15
1047 +/- 152
81st
399
1050 +/- 120
79th
15
1068 +/- 14
78th
11
1073 +/- 33
77th
3
1090 +/- 83
76th
3
1094 +/- 40
76th
5
1099 +/- 26
76th
5
1104 +/- 25
76th
10
1111 +/- 152
76th
14
1113 +/- 27
Mid-Tier
75th
> 1114
75th
6
1120 +/- 107
75th
14
1122 +/- 22
75th
6
1131 +/- 20
74th
8
1135 +/- 28
74th
25
1140 +/- 1
72nd
6
1154 +/- 23
72nd
6
1158 +/- 26
71st
3
1162 +/- 1
68th
10
1176 +/- 25
67th
24
1178 +/- 12
67th
38
1178 +/- 123
67th
16
1179 +/- 13
67th
14
1180 +/- 25
66th
9
1189 +/- 40
66th
11
1191 +/- 16
66th
11
1194 +/- 19
66th
6
1194 +/- 53
66th
9
1201 +/- 24
66th
46
1203 +/- 72
66th
12
1205 +/- 35
65th
19
1206 +/- 2
65th
15
1211 +/- 28
65th
6
1212 +/- 23
65th
9
1212 +/- 148
65th
10
1213 +/- 180
64th
10
1222 +/- 31
64th
3
1223 +/- 2
64th
9
1223 +/- 20
64th
16
1223 +/- 14
63rd
22
1224 +/- 38
62nd
12
1229 +/- 16
61st
4
1240 +/- 24
61st
5
1241 +/- 141
61st
3
1245 +/- 143
60th
5
1251 +/- 128
60th
17
1251 +/- 46
60th
5
1256 +/- 30
60th
6
1257 +/- 16
59th
13
1258 +/- 122
59th
82
1262 +/- 132
58th
7
1276 +/- 64
58th
12
1291 +/- 2
57th
18
1297 +/- 163
56th
6
1319 +/- 26
56th
15
1323 +/- 131
56th
21
1330 +/- 7
56th
3
1333 +/- 198
56th
15
1336 +/- 37
55th
14
1344 +/- 64
55th
11
1345 +/- 193
55th
5
1347 +/- 51
55th
29
1348 +/- 33
54th
19
1351 +/- 197
53rd
30
1369 +/- 190
53rd
3
1407 +/- 66
52nd
16
1409 +/- 73
52nd
18
1411 +/- 32
52nd
10
1411 +/- 189
51st
17
1471 +/- 3
Median
50th
1477
50th
9
1480 +/- 150
50th
11
1482 +/- 207
49th
70
1489 +/- 155
49th
5
1494 +/- 16
49th
7
1495 +/- 12
49th
3
1496 +/- 3
49th
4
1501 +/- 22
48th
8
1517 +/- 191
48th
3
1537 +/- 184
48th
31
1537 +/- 183
48th
5
1540 +/- 122
48th
20
1540 +/- 208
47th
30
1555 +/- 221
46th
42
1594 +/- 216
46th
6
1608 +/- 63
45th
7
1615 +/- 214
45th
22
1617 +/- 209
45th
13
1618 +/- 227
45th
38
1640 +/- 187
44th
4
1686 +/- 186
44th
7
1715 +/- 173
44th
4
1729 +/- 204
43rd
14
1731 +/- 256
43rd
5
1743 +/- 124
43rd
3
1748 +/- 52
42nd
15
1761 +/- 36
41st
5
1790 +/- 74
41st
5
1810 +/- 87
41st
3
1825 +/- 16
40th
4
1848 +/- 5
39th
4
1913 +/- 210
38th
4
1935 +/- 9
37th
3
2003 +/- 106
37th
21
2003 +/- 220
37th
18
2029 +/- 256
37th
5
2058 +/- 142
37th
3
2068 +/- 274
37th
4
2076 +/- 272
37th
3
2081 +/- 268
36th
4
2149 +/- 4
35th
12
2211 +/- 5
34th
8
2293 +/- 236
34th
3
2360 +/- 152
34th
4
2364 +/- 302
34th
4
2369 +/- 312
34th
5
2402 +/- 183
34th
11
2405 +/- 194
33rd
4
2445 +/- 353
32nd
201
2509 +/- 8
31st
4
2519 +/- 349
30th
21
2600 +/- 63
28th
10
2620 +/- 335
28th
350
2620 +/- 5
Low-Tier
25th
> 2736
25th
163
2764 +/- 136
24th
9
2809 +/- 267
23rd
10
2830 +/- 48
17th
4
3515 +/- 231
17th
9
3534 +/- 11
17th
5
3606 +/- 371
16th
4
3789 +/- 369
16th
19
3995 +/- 483
16th
3
4025 +/- 426
15th
10
4100 +/- 166
14th
105
4613 +/- 34
13th
74
4847 +/- 637
13th
18
4893 +/- 681
13th
4
4953 +/- 40
12th
36
5131 +/- 385
12th
6
5185 +/- 262
12th
14
5205 +/- 509
10th
14
5566 +/- 199
10th
3
5622 +/- 498
10th
7
5981 +/- 443
10th
3
6132 +/- 680
10th
4
6280 +/- 12
9th
6
6614 +/- 747
9th
68
6725 +/- 178
9th
7
6761 +/- 167
9th
4
6931 +/- 302
8th
10
7041 +/- 787
8th
100
7327 +/- 4
7th
3
8008 +/- 122
7th
30
9148 +/- 1348
6th
3
12021 +/- 570
2nd
59
20726 +/- 2999
OpenBenchmarking.orgDistribution Of Public Results - Total For Average Test Times10525 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.47 / Max: 48

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

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 Times2468121620243248641281.12.23.34.45.5

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 16 Benchmark Results

2 x AMD EPYC 7763 64-Core - Dell 074H08 - 16 x 64 GB DDR4-3200MT

Debian GNU - 5.4.106-1-pve - GCC 8.3.0

1 System - 1 Benchmark Result

ARMv8 Cortex-A57 - Edelweiss BM1BM1-D - 8GB

Debian 11 - 5.4.114-baikal_m1000 - GNOME Shell 3.38.4

1 System - 15 Benchmark Results

2 x AMD EPYC 7763 64-Core - Dell 074H08 - 16 x 64 GB DDR4-3200MT

Debian GNU - 5.4.106-1-pve - GCC 8.3.0

13 Systems - 26 Benchmark Results

ARMv7 rev 4 - BCM2835 Raspberry Pi 3 Model B Plus Rev 1.3 - 926MB

Raspbian 9.4 - 4.9.80-v7+ - LXDE 0.9.3

1 System - 1 Benchmark Result

Intel Core i7-8565U - Microsoft Virtual Machine v7.0 - Intel 440BX

Ubuntu 20.04 - 5.8.0-55-generic - GNOME Shell 3.36.9

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

1 System - 1 Benchmark Result

Intel Core i5-9600KF - Microsoft Virtual Machine v7.0 - Intel 440BX

Ubuntu 20.04 - 5.4.0-74-generic - GCC 9.3.0

1 System - 1 Benchmark Result

2 x Intel Core i5-9600KF - Intel 440BX - Intel 440BX

Ubuntu 21.04 - 5.11.0-18-generic - 1.0.2

1 System - 1 Benchmark Result

2 x Intel Core i5-9600KF - Intel 440BX - Intel 440BX

Ubuntu 21.04 - 5.11.0-18-generic - GCC 10.3.0

1 System - 1 Benchmark Result

2 x Intel Xeon E31240 - Intel 440BX - Intel 440BX

Ubuntu 18.04 - 5.4.0-42-generic - GNOME Shell 3.28.4

1 System - 1 Benchmark Result

Intel Xeon E31240 - Intel 440BX - Intel 440BX

Ubuntu 18.04 - 5.4.0-42-generic - GNOME Shell 3.28.4

1 System - 1 Benchmark Result

2 x Intel Xeon E5-2689 0 - HUANANZHI X79-16D - Intel Xeon E5

ManjaroLinux 21.0.6 - 5.10.41-1-MANJARO - KDE Plasma 5.21.5

Most Popular Test Results

OpenBenchmarking.org Results Compare

16 Systems - 119 Benchmark Results

2 x Intel Xeon Platinum 8259L - ASRockRack EP2C621D16-4LP - Intel Sky Lake-E DMI3 Registers

Ubuntu 19.10 - 5.3.0-64-generic - GNOME Shell 3.34.1

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

11 Systems - 217 Benchmark Results

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

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

12 Systems - 593 Benchmark Results

AMD Ryzen 7 5800X 8-Core - Gigabyte X570 AORUS MASTER - AMD Starship

Fedora 33 - 5.8.16-300.fc33.x86_64 - GNOME Shell 3.38.1

4 Systems - 55 Benchmark Results

AMD Ryzen 3 3200U - MOTILE PF4PU1F - AMD Raven

Fedora 31 - 5.4.15-200.fc31.x86_64 - GNOME Shell 3.34.3

4 Systems - 99 Benchmark Results

VirtualApple - Apple Mac mini - 8GB

macOS 11.0 - 20.1.0 - OpenCL 1.2

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

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

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

Find More Test Results