[Python-Dev] Re: Python 3.10 vs 3.8 performance degradation

2021年12月19日 11:16:02 -0800

On Sun, 2021年12月19日 at 18:48 +0000, Tigran Aivazian wrote:
> To eliminate the possibility of being affected by the different
> versions of numpy I have just now upgraded numpy in Python 3.8
> environment to the latest version, so both 3.8 and 3.10 and using
> numpy 1.21.4 and still the timing is exactly the same.
NumPy is very unlikely to have gotten slower. Please please time your
script before jumping to conclusion. For example 2/3 of the time of
that pendulum plotter is spend in plotting, and most of that seems to
be spend in text rendering.
(Yeah, there is a a little bit of time in NumPy's `arr.take()` also,
but I doubt that has anything to do with this.)
Now, I don't know what does the text rendering, but maybe that got
slower.
Cheers,
Sebastian
> _______________________________________________
> Python-Dev mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/python-dev.python.org/
> Message archived at
> https://mail.python.org/archives/list/[email protected]/message/THPN4OWM3A335LDO7HVIQSIDFFVO5URZ/
> Code of Conduct: http://python.org/psf/codeofconduct/
> 

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/6W7T6NY2LOOKH5IEIZIKNEOXSO47TZWR/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to