[AstroPy] Python 3.6 appears to be faster than 2.7/3.4/3.5
Geert Barentsen
geert.barentsen at gmail.com
Sun Jan 8 13:57:02 EST 2017
Dear All,
At yesterday's AAS Hack Day (cf. #hackaas on Twitter), I decided to compare
the performance of AstroPy between different versions of Python. I thought
you may all be interested to see the results, which are shown here:
https://twitter.com/GeertHub/status/817857735484198912
Bottom line: the newly-released Python 3.6 appears to triumph over previous
versions.
I used AstroPy's existing benchmarks located at
https://github.com/astropy/astropy-benchmarks, and so these results are
only really applicable to the limited set of features being benchmarked
there. Another caveat is that I only ran the benchmarks on Linux. It is
reasonable to expect the best performance from 3.6 however, given how much
effort has gone into performance improvements (e.g. CompactDict).
The script used to create the graph is here:
https://gist.github.com/barentsen/bd10e5ec13b97171c202e7e5747fa163
Best wishes,
Geert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20170108/21b617c7/attachment.html>
More information about the AstroPy
mailing list