Skip to content

Commit d308300

Browse files
author
tommy3001
committed
Cython: additional benchmark for standard CPU
1 parent 7ef55e7 commit d308300

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/scenarios/speed.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,13 @@ The `pyximport.install()` command allows the Python interpreter to start the Cyt
183183
which is automatically compiled to a `*.so` C-library. ... and Cython is able to import this library for you in your Python-code.
184184
Very easy and very efficient. With the `time.time()` function you are able to compare the time between this 2 different calls to find 500 prime numbers.
185185

186-
Here is the output of an embedded `ARM beaglebone <http://beagleboard.org/Products/BeagleBone>`_ machine:
186+
On a standard notebook (dualcore AMD E-450 1,6 GHz) the measured values are:
187+
188+
Cython time: 0.0054 seconds
189+
190+
Python time: 0.0566 seconds
191+
192+
And here the output of an embedded `ARM beaglebone <http://beagleboard.org/Products/BeagleBone>`_ machine:
187193

188194
Cython time: 0.0196 seconds
189195

0 commit comments

Comments
 (0)