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

57 Seconds

Average Run Time

6 Minutes, 9 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.122018.032018.062018.092018.122019.032019.062019.092019.122020.032020.062020.092020.122021.032021.062021.092021.122022.032022.062022.092022.122023.032023.062023.092023.122024.032K4K6K8K10K
* 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 updated weekly as of 26 March 2024.

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 4,246 public results since 21 January 2021 with the latest data as of 28 March 2024.

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)
99th
6
18 +/- 1
98th
4
19
98th
4
19 +/- 1
90th
7
30 +/- 1
Mid-Tier
75th
> 31
Median
50th
33
Low-Tier
25th
> 34
OpenBenchmarking.orgDistribution Of Public Results - Test: N-Queens4243 Results Range From 14 To 7935816 Seconds14158731317448476165634882793599952316111103312697501428467158718417459011904618206333522220522380769253948626982032856920301563731743543333071349178836505053809222396793941266564285373444409046028074761524492024150789585237675539639255551095713826587254360312606189977634869465074116666128682484569835627142279730099674597137618430777714779358649001800270036004500

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

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: N-QueensDeviation48121620Min: 0 / Avg: 0.74 / Max: 17

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

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 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 4-Core, ARMv8 Neoverse-V1 4-Core, Ampere eMAG ARMv8 32-Core, Apple M1, Apple M2, Rockchip ARMv8 Cortex-A76 6-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 126 Benchmark Results

AMD Ryzen 9 7950X 16-Core - Supermicro H13SAE-MF v1.00 - AMD Device 14d8

Debian 12 - 6.1.0-18-amd64 - GCC 12.2.0

1 System - 126 Benchmark Results

Intel Xeon Gold 5416S - Supermicro X13SEW-TF v1.02 - Intel Device 1bce

Debian 12 - 6.1.0-18-amd64 - GCC 12.2.0

1 System - 126 Benchmark Results

Intel Xeon Gold 5416S - Supermicro X13SEW-TF v1.02 - Intel Device 1bce

Debian 12 - 6.1.0-18-amd64 - GCC 12.2.0

1 System - 126 Benchmark Results

AMD Ryzen 9 7950X 16-Core - Supermicro H13SAE-MF v1.00 - AMD Device 14d8

Debian 12 - 6.1.0-18-amd64 - GCC 12.2.0

2 Systems - 390 Benchmark Results

ARMv8 Cortex-A76 - Mixtile Blade 3 v1.0.1 - 16GB

Ubuntu 22.04 - 5.10.160-rockchip - GNOME Shell 42.9

1 System - 1 Benchmark Result

Intel Core - Vultr HFC - Intel 82G33

Ubuntu 23.04 - 6.2.0-32-generic - GCC 12.3.0

1 System - 1 Benchmark Result

Intel Core i9-14900K - Red Hat RHEL-AV - Intel 82G33

Ubuntu 22.04 - 5.15.0-92-generic - 1.3.238

1 System - 379 Benchmark Results

ARMv8 Cortex-A76 - Mixtile Blade 3 v1.0.1 - 16GB

Ubuntu 22.04 - 5.10.160-rockchip - GNOME Shell 42.9

1 System - 157 Benchmark Results

AMD Ryzen 5 5600G - MSI B450M MORTAR MAX - AMD Renoir

NixOS 23.11 - 6.1.65 - GCC 12.3.0

1 System - 157 Benchmark Results

AMD Ryzen 5 5600G - MSI B450M MORTAR MAX - AMD Renoir

NixOS 23.11 - 6.1.65 - GCC 12.3.0

1 System - 29 Benchmark Results

AMD EPYC 7B13 - Google Compute Engine n2d-standard-2 - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.15.0-1046-gcp - 1.1.182

1 System - 29 Benchmark Results

Intel Xeon - Google Compute Engine n2-standard-16 - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.15.0-1046-gcp - 1.1.182

1 System - 29 Benchmark Results

Intel Xeon Platinum 8488C - Amazon EC2 m7i.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.15.0-1048-aws - GNOME Shell 3.36.9

1 System - 29 Benchmark Results

AMD EPYC 7R13 - Amazon EC2 m6a.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.15.0-1048-aws - GNOME Shell 3.36.9

1 System - 29 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 m6i.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.15.0-1049-aws - GNOME Shell 3.36.9

Most Popular Test Results

Find More Test Results