Hey guys, the Mandelbrot example with PyPy is running.
$ python3 examples/corelib/threads/mandelbrot.py
Pass 1/8, max iterations: 96, time: 4.111s
Pass 2/8, max iterations: 288, time: 7.179s
Pass 3/8, max iterations: 1056, time: 22.156s
Pass 4/8, max iterations: 4128, time: 82.706s
Pass 5/8, max iterations: 16416, time: 371.348s
$ pypy3 examples/corelib/threads/mandelbrot.py
Pass 1/8, max iterations: 96, time: 4.732s
Pass 2/8, max iterations: 288, time: 4.99s
Pass 3/8, max iterations: 1056, time: 6.872s
Pass 4/8, max iterations: 4128, time: 12.451s
Pass 5/8, max iterations: 16416, time: 33.341s
$ ~/Qt/Examples/Qt-6.3.0/corelib/threads/build-mandelbrot-Qt_6_2_2_for_macOS-Release/mandelbrot.app/Contents/MacOS/mandelbrot
Pass 1/8, max iterations: 96, time: 52ms
Pass 2/8, max iterations: 288, time: 140ms
Pass 3/8, max iterations: 1056, time: 438ms
Pass 4/8, max iterations: 4128, time: 1680ms
Pass 5/8, max iterations: 16416, time: 6s
1 February 2022
Christian Tismer-SperlingHey guys, the Mandelbrot example with PyPy is running.
$ python3 examples/corelib/threads/mandelbrot.py
Pass 1/8, max iterations: 96, time: 4.111s
Pass 2/8, max iterations: 288, time: 7.179s
Pass 3/8, max iterations: 1056, time: 22.156s
Pass 4/8, max iterations: 4128, time: 82.706s
Pass 5/8, max it
Woohoo!
KlinThe benefits of PySide with PyPy are only performance?
For users of PySide, pretty much (other than just diversity being good). For developers of PySide itself, it highlights issues with their implementation which might not be as obvious with CPython.
Replymessage unavailable
It is not the joy of Mandelbrot. That is way better in C++. It is the joy about how great PyPy performs here.