First of all congratulations for the great work, I can say I am a newbie in Python world but I follow with interest this project. I tryed the release with the JIT compiler with also the parallel python module and the speed gain is sensible. I compared also the performance with psyco on 3 or 4 benchmarks and it seems that the time for the execution is usually more or less the same. Do you think there will be the possibility again for a massive speed improvement in future releases or the level of max performance is not so far? How much faster could it be in the future?
Question: According to the Computer Language Benchmarks Game, there are three benchmarks that perform way slower in Pypy against Python 3 ( see here: http://shootout.alioth.debian.org/u32/benchmark.php?test=all&lang=pypy&lang2=python3 ).
Those are: 1) reverse-complement 2) regex-dna 3) pidgits
I know that regex-dna performs slower because regex haven't been optimized yet, but what's the reason for the other two? Do they use regex too?
@Luis pidigits is about using gmpy for cpython vs longs for pypy. It's a bit apples vs oranges. That said, CPython's longs are still faster than pypy's so we definitely can improve. This are needs some love :)
Reverse complement is string benchmark and I did not look but it might be that the speed of str.translate is suboptimal.
See also PyPy's IRC channel: #pypy at freenode.net, or the pypy-dev mailing list. If the blog post is old, it is pointless to ask questions here about it---you're unlikely to get an answer.
First of all congratulations for the great work, I can say I am a newbie in Python world but I follow with interest this project. I tryed the release with the JIT compiler with also the parallel python module and the speed gain is sensible. I compared also the performance with psyco on 3 or 4 benchmarks and it seems that the time for the execution is usually more or less the same. Do you think there will be the possibility again for a massive speed improvement in future releases or the level of max performance is not so far? How much faster could it be in the future?
ReplyDeleteThanks,
Paolo
Question:
ReplyDeleteAccording to the Computer Language Benchmarks Game, there are three benchmarks that perform way slower in Pypy against Python 3 ( see here: http://shootout.alioth.debian.org/u32/benchmark.php?test=all&lang=pypy&lang2=python3 ).
Those are:
1) reverse-complement
2) regex-dna
3) pidgits
I know that regex-dna performs slower because regex haven't been optimized yet, but what's the reason for the other two? Do they use regex too?
@Luis pidigits is about using gmpy for cpython vs longs for pypy. It's a bit apples vs oranges. That said, CPython's longs are still faster than pypy's so we definitely can improve. This are needs some love :)
ReplyDeleteReverse complement is string benchmark and I did not look but it might be that the speed of str.translate is suboptimal.
Cheers,
fijal, hiding