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, 26 Seconds

Average Run Time

3 Minutes, 2 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.112022.012022.032022.052022.072022.092022.1113002600390052006500
* 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 30 November 2022.

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 719 public results since 21 January 2021 with the latest data as of 5 December 2022.

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.

OpenBenchmarking.orgDistribution Of Public Results - Test: N-Queens718 Results Range From 14 To 7935816 Seconds1415873131744847616563488279359995231611110331269750142846715871841745901190461820633352222052238076925394862698203285692030156373174354333307134917883650505380922239679394126656428537344440904602807476152449202415078958523767553963925555109571382658725436031260618997763486946507411666612868248456983562714227973009967459713761843077771477935864150300450600750

Based on OpenBenchmarking.org data, the selected test / test configuration (Cython Benchmark 0.29.21 - Test: N-Queens) has an average run-time of 6 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-Time20406080100Min: 1 / Avg: 5.96 / Max: 118

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: N-QueensDeviation612182430Min: 0 / Avg: 1.61 / Max: 25

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-Queens468640.40630.81261.21891.62522.0315

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000LL
ARMv8 64-bit
aarch64
AArch64 rev 12, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A55 4-Core, ARMv8 Neoverse-N1 4-Core, ARMv8 Neoverse-V1 4-Core, Ampere eMAG ARMv8 32-Core, Apple M1, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

Intel Core i7-1185GRE - ADLINK c-TL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-53-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

Intel Core i7-1185GRE - ADLINK c-TL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-53-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

Intel Core i7-1185GRE - ADLINK c-TL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-53-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

Intel Core i7-1185GRE - ADLINK c-TL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-53-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

Intel Core i7-1185GRE - ADLINK c-TL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-53-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

Intel Core i7-1185GRE - ADLINK c-TL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-53-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

Intel Core i7-1185GRE - ADLINK c-TL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-53-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

Intel Core i7-1185GRE - ADLINK c-TL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-53-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

Intel Core i7-1185GRE - ADLINK c-TL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-53-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

Intel Core i7-1185GRE - ADLINK c-TL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-53-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

Intel Core i7-1185GRE - ADLINK c-TL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-53-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

Intel Core i7-1185GRE - ADLINK c-TL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-53-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

Intel Core i7-1185GRE - ADLINK c-TL - Intel Device a0ef

Ubuntu 20.04 - 5.15.0-53-generic - GNOME Shell 3.36.9

1 System - 73 Benchmark Results

AMD Ryzen Threadripper 1920X 12-Core - ASRock X399 Taichi - AMD 17h

Ubuntu 22.04 - 5.15.0-50-generic - GNOME Shell 42.4

Most Popular Test Results

Find More Test Results