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


Average Install Time

56 Seconds

Average Run Time

6 Minutes, 9 Seconds

Test Dependencies



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.032024.062K4K6K8K10K
* Uploading of benchmark result data to 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 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 16 June 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


Performance Metrics

Analyze Test Configuration:

Cython Benchmark 0.29.21

Test: N-Queens metrics for this test profile configuration based on 4,266 public results since 21 January 2021 with the latest data as of 17 June 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.

Percentile Rank
# Compatible Public Results
Seconds (Average)
18 +/- 1
18 +/- 2
19 +/- 1
30 +/- 1
> 31
> 34
OpenBenchmarking.orgDistribution Of Public Results - Test: N-Queens4266 Results Range From 14 To 7935816 Seconds14158731317448476165634882793599952316111103312697501428467158718417459011904618206333522220522380769253948626982032856920301563731743543333071349178836505053809222396793941266564285373444409046028074761524492024150789585237675539639255551095713826587254360312606189977634869465074116666128682484569835627142279730099674597137618430777714779358649001800270036004500

Based on 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.09 / Max: 118

Based on public 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-Queens4681216640.41460.82921.24381.65842.073

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful 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
(Many Processors)
Loongson LoongArch 64-bit
ARMv8 64-bit
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