Cython Benchmark

Cython provides a superset of Python that is geared to deliver C-like levels of performance. This test profile makes use of Cython's bundled benchmark tests and runs an N-Queens sample test as a simple benchmark to the system's Cython performance.

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

Test Created

29 September 2017

Last Updated

21 January 2021

Test Maintainer

Victor Rodriguez 

Test Type

Processor

Average Install Time

2 Minutes, 32 Seconds

Average Run Time

2 Minutes, 21 Seconds

Test Dependencies

Python

Accolades

50k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsCython benchmark Popularity Statisticspts/cython-bench2017.092017.112018.012018.032018.052018.072018.092018.112019.012019.032019.052019.072019.092019.112020.012020.032020.052020.072020.092020.112021.012021.032021.052021.072021.0911002200330044005500
* 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 24 October 2021.

Revision History

pts/cython-bench-1.1.0   [View Source]   Thu, 21 Jan 2021 09:52:30 GMT
Update against latest Cython upstream, fixes for latest Python handling.

pts/cython-bench-1.0.0   [View Source]   Fri, 29 Sep 2017 16:09:01 GMT
Initial commit of the cython-bench test profile

Suites Using This Test

CPU Massive

Server CPU Tests

Python


Performance Metrics

Analyze Test Configuration:

Cython Benchmark 0.29.21

Test: N-Queens

OpenBenchmarking.org metrics for this test profile configuration based on 214 public results since 21 January 2021 with the latest data as of 18 October 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
Seconds (Average)
95th
8
17.2 +/- 0.5
93rd
20
17.3 +/- 0.2
79th
13
17.9 +/- 0.8
79th
7
17.9 +/- 0.3
Mid-Tier
75th
> 18.8
73rd
7
19.6 +/- 0.5
72nd
8
20.1 +/- 1.0
68th
4
20.4 +/- 0.1
64th
4
20.7 +/- 0.3
56th
9
22.9 +/- 2.1
55th
4
23.0 +/- 0.1
52nd
8
23.4 +/- 0.2
Median
50th
23.6
44th
7
24.4 +/- 0.1
43rd
3
24.5 +/- 0.2
40th
4
24.8 +/- 0.1
37th
4
25.0 +/- 0.3
31st
4
25.9 +/- 0.2
31st
4
26.0 +/- 0.3
26th
3
26.5 +/- 0.1
Low-Tier
25th
> 26.5
22nd
4
26.8 +/- 0.2
22nd
6
26.8 +/- 0.2
16th
4
29.6 +/- 0.1
14th
6
29.7 +/- 0.1
14th
4
29.7 +/- 0.4
11th
3
30.1 +/- 0.8
8th
3
33.5 +/- 0.1
2nd
4
59.4 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Test: N-Queens214 Results Range From 15 To 135 Seconds152535455565758595105115125135306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (Cython Benchmark 0.29.21 - Test: N-Queens) 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 BenchmarkTest: N-QueensRun-Time246810Min: 1 / Avg: 1.19 / Max: 4

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: N-QueensDeviation246810Min: 0 / Avg: 0.44 / 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.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseCython benchmark CPU Core ScalingTest: N-Queens46816640.40830.81661.22491.63322.0415

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 724 Benchmark Results

AMD Ryzen 9 5900HX - HX90 - AMD Renoir

Ubuntu 21.10 - 5.14.12-051412-generic - LXQt 0.17.0

1 System - 1 Benchmark Result

AMD Ryzen 5 4600HS - ASUS GA401IH v1.0 - AMD Renoir Root Complex

ManjaroLinux 21.1.6 - 5.14.12-zen1-1-zen-g14 - KDE Plasma 5.22.5

8 Systems - 364 Benchmark Results

2 x AMD EPYC 7742 64-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

Ubuntu 21.10 - 5.13.0-19-generic - GNOME Shell 40.5

3 Systems - 326 Benchmark Results

AMD EPYC 7742 64-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

Ubuntu 21.10 - 5.13.0-19-generic - GNOME Shell 40.5

1 System - 1 Benchmark Result

Loongson-3A5000LL - Loongson Loongson-LS3A5000-7A1000-1w-V0.1-CRB v1.0 - Loongson LLC Hyper Transport Bridge

Loongnix 20 - 4.19.0-13-loongson-3 - X Server 1.20.4

4 Systems - 318 Benchmark Results

AMD EPYC 7F52 16-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

Ubuntu 21.10 - 5.13.0-19-generic - GNOME Shell 40.5

1 System - 208 Benchmark Results

Unknown - Apple Mac Mini Late 2020 - 8GB

Ubuntu 20.04 - 5.11.0-rc4+ - X Server 1.20.11

1 System - 23 Benchmark Results

Intel Xeon E5-2630 v4 - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-81-generic - 1.0.2

1 System - 23 Benchmark Results

AMD EPYC 7282 16-Core - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-81-generic - 1.0.2

1 System - 22 Benchmark Results

Intel Xeon E5-2660 v4 - Intel 440BX - Intel 440BX

Ubuntu 20.04 - 5.4.0-81-generic - 1.0.2

1 System - 12 Benchmark Results

AMD Ryzen 7 5800U - HP 8886 - AMD Renoir Root Complex

Ubuntu 21.10 - 5.14.0-051400rc5-generic - GNOME Shell 40.2

1 System - 1 Benchmark Result

Loongson-3A5000LL - Loongson Loongson-LS3A5000-7A1000-1w-V0.1-CRB v1.0 - Loongson LLC Hyper Transport Bridge

Loongnix 20 - 4.19.0-12-loongson-3 - X Server 1.20.4

1 System - 1 Benchmark Result

Loongson-3A5000LL - Loongson Loongson-LS3A5000-7A1000-1w-V0.1-CRB v1.0 - 16GB

Loongnix GNU - 4.19.0-12-loongson-3 - GCC 8.3.0

1 System - 21 Benchmark Results

Intel Xeon Gold 5120 - Intel 440BX - Intel 440BX

Ubuntu 20.04 - 5.4.0-80-generic - 1.0.2

1 System - 1 Benchmark Result

Loongson-3A5000LL - Loongson Loongson-LS3A5000-7A1000-1w-V0.1-CRB v1.0 - Loongson LLC Hyper Transport Bridge

Loongnix 20 - 4.19.0-12-loongson-3 - X Server 1.20.4

Most Popular Test Results

Find More Test Results