From d30830009a5df0c10019ced46f036478dcdc5807 Mon Sep 17 00:00:00 2001 From: tommy3001 Date: Sat, 15 Feb 2014 19:33:00 +0100 Subject: [PATCH] Cython: additional benchmark for standard CPU --- docs/scenarios/speed.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/scenarios/speed.rst b/docs/scenarios/speed.rst index f8a37c9..7a2ef88 100644 --- a/docs/scenarios/speed.rst +++ b/docs/scenarios/speed.rst @@ -183,7 +183,13 @@ The `pyximport.install()` command allows the Python interpreter to start the Cyt which is automatically compiled to a `*.so` C-library. ... and Cython is able to import this library for you in your Python-code. 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. -Here is the output of an embedded `ARM beaglebone `_ machine: +On a standard notebook (dualcore AMD E-450 1,6 GHz) the measured values are: + +Cython time: 0.0054 seconds + +Python time: 0.0566 seconds + +And here the output of an embedded `ARM beaglebone `_ machine: Cython time: 0.0196 seconds