[pypy-dev] CFFI speed results

Maciej Fijalkowski fijall at gmail.com
Mon Dec 17 21:42:13 CET 2012


On Mon, Dec 17, 2012 at 3:46 PM, Eleytherios Stamatogiannakis
<estama at gmail.com> wrote:
> We had a "bug" in our previous benchmark ("mspw_bench.sql"). The way it was
> written allowed SQLite to short-circuit column data retrieval, ending up
> with minimal exercising of the CFFI layer.

I thought it was a feature :)

>
> The attached query exercises CFFI as it should. We also checked its
> profiling characteristics, and it is a lot closer to what we are seen with
> our working query loads.
>
> Below are timings when running it from inside mterm (so there is no import
> overhead):
>
> CPython + APSW: 0 sec 956 msec
> pypy + APSW: 8 sec 673 msec
> pypy + MSPW: 2 sec 550 msec
>
> Best regards.
>
> lefteris.
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
>


More information about the pypy-dev mailing list