py26-numpy is much slower than NumPy compiled for MacPython
Konrad Hinsen
konrad.hinsen at fastmail.net
Thu Dec 9 02:22:39 PST 2010
On 09.12.2010, at 00:25, Frank Schima wrote:
> On Dec 8, 2010, at 9:28 AM, Eric A. Borisch wrote:
>
>> == Executive summary ==
>> The OS python has different numpy exception handling settings, and this is the reason for the performance difference.
...
>> I haven't looked at how or why these settings are different, but I believe this is the culprit.
>
> Nice detective work. I can confirm that setting "numpy.seterr(all='ignore')" causes the benchmark to run at the faster time.
Me too. I also checked with my real-life application that led to this benchmark, and they are now slightly faster with the MacPorts python than with the system python. Thanks a lot!
Konrad.
More information about the macports-users
mailing list