(unexpectedly) bad performance of stackless and greenlet on PyPy

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.

On Sun, Dec 30, 2012 at 2:24 PM, Denis Bilenko <denis.bilenko@gmail.com> wrote:
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

On Sun, Dec 30, 2012 at 2:24 PM, Denis Bilenko <denis.bilenko@gmail.com> wrote:
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
participants (2)
-
Denis Bilenko
-
Maciej Fijalkowski