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, 31 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.092021.1111002200330044005500
* 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 25 November 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 225 public results since 21 January 2021 with the latest data as of 28 November 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
14
17.8 +/- 0.8
79th
7
17.9 +/- 0.3
Mid-Tier
75th
> 18.6
73rd
7
19.6 +/- 0.5
71st
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
51st
8
23.4 +/- 0.2
Median
50th
23.4
44th
7
24.4 +/- 0.1
43rd
3
24.5 +/- 0.2
40th
4
24.8 +/- 0.1
37th
4
25.0 +/- 0.3
36th
4
25.4 +/- 2.4
31st
4
25.9 +/- 0.2
31st
4
26.0 +/- 0.3
26th
3
26.5 +/- 0.1
Low-Tier
25th
> 26.6
23rd
4
26.8 +/- 0.2
23rd
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-Queens224 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.2 / Max: 5

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