pypy on windows much slower than linux/mac when using complex number type?

Irmen de Jong irmen.NOSPAM at xs4all.nl
Tue Sep 20 18:50:41 EDT 2016


On 20-9-2016 22:43, Chris Angelico wrote:
> On Wed, Sep 21, 2016 at 6:38 AM, Irmen de Jong <irmen.NOSPAM at xs4all.nl> wrote:
>>  Windows: 64 bits Windows 7, Intel Core 2 Quad 3.4 Ghz
>>  Linux: 32 bits Mint 18, Virtualbox VM on above windows machine
>>  Mac mini: OS X 10.11.6, Intel Core 2 Duo 2.53 Ghz
>>
>> The test code I've been using is here:
>>  https://gist.github.com/irmen/c6b12b4cf88a6a4fcf5ff721c7089078
>>
>> Test results:
>>                       function:  mandel   / iterations
>>  Mac mini, Pypy 5.4.1 (64-bit):  0.81 sec / 0.65 sec
>>  Linux, Pypy 5.1 (32-bit):       1.06 sec / 0.64 sec
>>  Windows, Pypy 5.4.1 (32-bit):   5.59 sec / 2.87 sec
>>
>>
>> What could cause such a huge difference?
> 
> Dunno if it's the cause or not, but you're running a 32-bit PyPy on a
> 64-bit Windows. I could well imagine that that has some odd
> significance.
> 
> ChrisA


Perhaps. Though I can't really imagine what's going on there then. The one on Linux is
32 bits as well and it's also much faster...
Unfortunately there's no 64 bits pypy expected for windows, so I can't test that

Irmen





More information about the Python-list mailing list