On Sun, Dec 30, 2012 at 2:24 PM, Denis Bilenko <denis.bile...@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@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 _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev