[pypy-dev] (unexpectedly) bad performance of stackless and greenlet on PyPy
Maciej Fijalkowski
fijall at gmail.com
Sun Dec 30 16:53:40 CET 2012
On Sun, Dec 30, 2012 at 2:24 PM, Denis Bilenko <denis.bilenko at gmail.com> wrote:
> Hi!
>
> I've micro-benchmarked stackless and greenlet module in PyPy and was
> quite surprised with the results. According to this benchmark
> stackless.channel is 100x times slower on PyPy (vs Stackless) and
> greenlet is 20x times slower on PyPy (vs CPython).
>
> https://gist.github.com/4412582
>
> Is this a bug in benchmark (or PyPy) or is it the expected current
> state of stackless features on PyPy?
>
> Cheers,
> Denis.
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
This is at least partly expected because stackless and/or greenlets
disable the JIT. It probably shouldn't be 100x though. There is an
ongoing work to make this reason go away and then we can look what's
left.
Cheers,
fijal
More information about the pypy-dev
mailing list