Blog coverage of speed.pypy.org
If you want to read a detailed analysis about why speed.pypy.org is cool, head over to Saveen Reddy's blog at the MSDN.
The PyPy blogposts
Create a guest post via a PR to the source repo
Recent Posts
- Fixing a Bug in PyPy's Incremental GC
- PyPy v7.3.15 release
- PyPy has moved to Git, GitHub
- PyPy v7.3.14 release
- PyPy v7.3.13 release
- PyPy v7.3.12 release
- RPython-based emulator speeds up RISC-V simulation over 15x
- Repeated string concatenation is quadratic in PyPy (and CPython)
- PyPy v7.3.11 release
- Finding JIT Optimizer Bugs using SMT Solvers and Fuzzing
Archives
Tags
- arm (2)
- casestudy (2)
- cli (1)
- compiler (1)
- cpyext (4)
- CPython (3)
- ep2008 (1)
- extension modules (3)
- gc (1)
- GraalPython (1)
- hpy (1)
- Heptapod (1)
- jit (20)
- jython (1)
- kcachegrind (1)
- meta (1)
- numpy (24)
- parser (1)
- performance (2)
- profiling (4)
- pypy (6)
- pypy3 (16)
- PyQt4 (1)
- release (60)
- releasecffi (3)
- releaserevdb (1)
- releasestm (1)
- revdb (1)
- roadmap (2)
- RPyC (1)
- speed (6)
- sponsors (7)
- sprint (3)
- sprints (1)
- stm (14)
- sun (1)
- Smalltalk (1)
- Squeak (1)
- testing (1)
- unicode (1)
- valgrind (1)
Comments
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?
Thanks,
Paolo
Question:
According to the Computer Language Benchmarks Game, there are three benchmarks that perform way slower in Pypy against Python 3 ( see here: https://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.
Cheers,
fijal, hiding