Listen "9/9 Research Software Engineering with Python (COMP233) - Performance"
Episode Synopsis
In this last episode of this course, I talk to Itamar Turner-Trauring who created the website PythonSpeed and spent a considerable time on finding ways to make Python code faster and more efficient. Python and its ecosystem also have great tools how you can measure performance.Links:https://pythonspeed.com a set of articles and recommendations on how to improve your performancehttps://blog.sentry.io/python-performance-testing-a-comprehensive-guide/ a general blog post on performance testinghttps://uwpce-pythoncert.github.io/SystemDevelopment/profiling.html https://uwpce-pythoncert.github.io/SystemDevelopment/index.htmlhttps://en.wikipedia.org/wiki/Computer_performancehttps://python-102.readthedocs.io/en/latest/performance.htmlhttps://docs.python.org/3/tutorial/datastructures.htmlhttps://www.green-algorithms.orghttps://doi.org/10.1145/356635.356640 Donald Knuth's paper on over optimisationhttps://wiki.python.org/moin/TimeComplexityhttps://blog.jetbrains.com/dataspell/2023/08/polars-vs-pandas-what-s-the-difference/ comparing Polars with PandaProfiling toolshttps://pyinstrument.readthedocs.io/en/latest/https://docs.python.org/3/library/profile.htmlhttps://docs.python.org/3/library/time.html the time function in Pythonhttps://docs.python.org/3/library/timeit.html another function to measure time in Pythonhttps://jiffyclub.github.io/snakeviz/ a graphic profile viewerhttps://bloomberg.github.io/memray/ flexible memory profilerhttps://github.com/benfred/py-spyhttps://www.wrighters.io/profiling-python-code-with-py-spy/https://github.com/P403n1x87/austin-python The Python wrapper for the Austin profilerDon't be shy - say HiThis podcast is brought to you by the Advanced Research Computing Centre of the University College London, UK. Producer and Host: Peter Schmidt
More episodes of the podcast UCL for Code in Research
10/10 C++: Wrapping it up
31/03/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.