View on GitHub

Python Performance Profiling

SSC Compact Course

Description

To make your Python code run faster, you first need to understand where and why it is slow. In this course we will look at how to profile and benchmark the performance of Python code, as well as the compiled cpu and gpu code that gets invoked when you use libraries like numpy or pytorch.

Slides

Sample code

Sample Python code is provided at github.com/ssciwr/python-performance-profiling